Skip to content

Commit f50e8a5

Browse files
nipunn1313Convex, Inc.
authored andcommitted
Double the max backup size (#42666)
GitOrigin-RevId: c7c33365544c0bca44e1f968ae29c63fda8087a9
1 parent 3d7b3fe commit f50e8a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/common/src/knobs.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,14 +1363,14 @@ pub static CLAIM_INSTANCE_TIMEOUT_SECS: LazyLock<Duration> =
13631363
/// There may be stricter limits imposed by the storage provider, but this is
13641364
/// the target max size for the buffer to protect against memory exhaustion.
13651365
/// The maximum number of parts is 10000, so this imposes a max file size, which
1366-
/// defaults to 10000 * 100MiB = 1TB. When reducing this knob, make sure the
1366+
/// defaults to 10000 * 200MiB = 2TB. When reducing this knob, make sure the
13671367
/// maximum file size can fit a snapshot export of the instance.
13681368
/// Storage uploads can run in parallel, and the buffers get cloned during
13691369
/// upload, so make sure this knob times ~8 can fit in memory.
13701370
///
1371-
/// Defaults to 100MiB.
1371+
/// Defaults to 200MiB.
13721372
pub static STORAGE_MAX_INTERMEDIATE_PART_SIZE: LazyLock<usize> =
1373-
LazyLock::new(|| env_config("STORAGE_MAX_INTERMEDIATE_PART_SIZE", 100 * (1 << 20)));
1373+
LazyLock::new(|| env_config("STORAGE_MAX_INTERMEDIATE_PART_SIZE", 200 * (1 << 20)));
13741374

13751375
/// Minimum number of milliseconds a commit needs to take to send traces to
13761376
/// honeycomb.

0 commit comments

Comments
 (0)