Skip to content

Commit 99b12d9

Browse files
ldanilekConvex, Inc.
authored and
Convex, Inc.
committed
configurable batch size for migration (#28608)
GitOrigin-RevId: bd3e58994abc130ef9359b3fe90373d2c2a22735
1 parent e38c9ec commit 99b12d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/common/src/knobs.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,3 +1115,7 @@ pub static USHER_BACKEND_CLIENTS_CACHE_SIZE: LazyLock<u64> =
11151115
/// Providing a limit helps us not run into any implementation limits.
11161116
pub static USHER_MAX_CONCURRENT_STREAMS_PER_CHANNEL: LazyLock<usize> =
11171117
LazyLock::new(|| env_config("USHER_MAX_CONCURRENT_STREAMS_PER_CHANNEL", 500));
1118+
1119+
/// Batch size for migration that rewrites virtual tables.
1120+
pub static MIGRATION_REWRITE_BATCH_SIZE: LazyLock<usize> =
1121+
LazyLock::new(|| env_config("MIGRATION_REWRITE_BATCH_SIZE", 100));

0 commit comments

Comments
 (0)