Skip to content

Commit edde85e

Browse files
authored
revert: "feat(RUN-1013): Adjust max number of cached sandboxes" (#2184)
This reverts commit 75c57bc. As canister executions increase, it's essential to maintain more spawned sandboxes to accelerate sandbox executions. While the original change reduced memory usage to switch to the memory-based allocator, production metrics indicate minimal risk.
1 parent 5d1978e commit edde85e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rs/config/src/embedders.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub(crate) const DEFAULT_MIN_SANDBOX_COUNT: usize = 500;
4848

4949
/// Sandbox process eviction ensures that the number of sandbox processes is
5050
/// always below this threshold.
51-
pub(crate) const DEFAULT_MAX_SANDBOX_COUNT: usize = 1_000;
51+
pub(crate) const DEFAULT_MAX_SANDBOX_COUNT: usize = 2_000;
5252

5353
/// A sandbox process may be evicted after it has been idle for this
5454
/// duration and sandbox process eviction is activated.

0 commit comments

Comments
 (0)