Add separate back pressure threashold for write/flush LSNs

This commit is contained in:
Konstantin Knizhnik
2021-09-30 19:55:38 +03:00
parent fc774c819e
commit 4d90f2f316
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ pub mod defaults {
// FIXME: This current value is very low. I would imagine something like 1 GB or 10 GB
// would be more appropriate. But a low value forces the code to be exercised more,
// which is good for now to trigger bugs.
pub const DEFAULT_CHECKPOINT_DISTANCE: u64 = 64 * 1024 * 1024;
pub const DEFAULT_CHECKPOINT_DISTANCE: u64 = 256 * 1024 * 1024;
pub const DEFAULT_CHECKPOINT_PERIOD: Duration = Duration::from_secs(1);
pub const DEFAULT_GC_HORIZON: u64 = 64 * 1024 * 1024;