From d77aa90b6afe7d7ddb1dc63211fa4216c8866a90 Mon Sep 17 00:00:00 2001 From: Matt Keeter Date: Mon, 27 Jan 2025 14:20:11 -0500 Subject: [PATCH] Shrink replay buffer --- upstairs/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upstairs/src/lib.rs b/upstairs/src/lib.rs index 79d6469f4..7c28edcc6 100644 --- a/upstairs/src/lib.rs +++ b/upstairs/src/lib.rs @@ -108,7 +108,7 @@ pub const IO_OUTSTANDING_MAX_JOBS: usize = 1000; /// /// Caching complete jobs allows us to replay them if a Downstairs goes offline /// them comes back. -const IO_CACHED_MAX_BYTES: u64 = 1024 * 1024 * 1024; // 1 GiB +const IO_CACHED_MAX_BYTES: u64 = 64 * 1024 * 1024; // 64 MiB /// Maximum of jobs to cache from complete (but un-flushed) IO ///