Skip to content

Commit b63f7b7

Browse files
authored
Shrink replay buffer (#1616)
per #1553 (comment) and 3712da4
1 parent a08e5fa commit b63f7b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upstairs/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub const IO_OUTSTANDING_MAX_JOBS: usize = 1000;
108108
///
109109
/// Caching complete jobs allows us to replay them if a Downstairs goes offline
110110
/// them comes back.
111-
const IO_CACHED_MAX_BYTES: u64 = 1024 * 1024 * 1024; // 1 GiB
111+
const IO_CACHED_MAX_BYTES: u64 = 64 * 1024 * 1024; // 64 MiB
112112

113113
/// Maximum of jobs to cache from complete (but un-flushed) IO
114114
///

0 commit comments

Comments
 (0)