Skip to content

Commit cdb38ac

Browse files
jordanhunt22Convex, Inc.
authored andcommitted
Increase system write limits (#35975)
GitOrigin-RevId: c85828b5d892bb595254e20ebee28935110150f6
1 parent 2a2ce79 commit cdb38ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/common/src/knobs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,13 @@ pub static FUNCTION_LIMIT_WARNING_RATIO: LazyLock<f64> = LazyLock::new(|| {
244244
/// an additional 8000 system documents. If we hit this error, this is a system
245245
/// error, not a developer one.
246246
pub static TRANSACTION_MAX_SYSTEM_NUM_WRITES: LazyLock<usize> =
247-
LazyLock::new(|| env_config("TRANSACTION_MAX_SYSTEM_NUM_WRITES", 20000));
247+
LazyLock::new(|| env_config("TRANSACTION_MAX_SYSTEM_NUM_WRITES", 40000));
248248

249249
/// We write user modules in system tables and those can get quite large.
250250
/// Similar to the above if we hit this limit, we should count this as system
251251
/// error and do a use case specific validation to avoid hitting this.
252252
pub static TRANSACTION_MAX_SYSTEM_WRITE_SIZE_BYTES: LazyLock<usize> = LazyLock::new(|| {
253-
env_config("TRANSACTION_MAX_SYSTEM_WRITE_SIZE_BYTES", 1 << 26) // 64 MiB
253+
env_config("TRANSACTION_MAX_SYSTEM_WRITE_SIZE_BYTES", 1 << 27) // 128 MiB
254254
});
255255

256256
/// Maximum number of scheduled transactions.

0 commit comments

Comments
 (0)