Skip to content

Commit c7e7b0a

Browse files
committed
chore(webapp): raise the native realtime wake coalesce default to 250ms
Halves wake and response volume on busy environments in exchange for a worst-case quarter second of added delivery delay. Tunable via REALTIME_BACKEND_NATIVE_ENV_WAKE_COALESCE_WINDOW_MS.
1 parent 4611cb4 commit c7e7b0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/app/env.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ const EnvironmentSchema = z
317317
// Bucket (ms) the tag-list createdAt floor is quantized to so same-tag feeds share a cache entry; 0 disables.
318318
REALTIME_BACKEND_NATIVE_RUNSET_CREATED_AT_BUCKET_MS: z.coerce.number().int().default(60_000),
319319
// Leading-edge throttle (ms) on per-env wake delivery; 0 wakes on every change.
320-
REALTIME_BACKEND_NATIVE_ENV_WAKE_COALESCE_WINDOW_MS: z.coerce.number().int().default(100),
320+
REALTIME_BACKEND_NATIVE_ENV_WAKE_COALESCE_WINDOW_MS: z.coerce.number().int().default(250),
321321
// "1" holds a multi-run live poll open on a non-matching wake instead of replying up-to-date.
322322
REALTIME_BACKEND_NATIVE_HOLD_ON_EMPTY: z.string().default("1"),
323323
// Max concurrent fresh ClickHouse resolves per instance (reconnect-stampede gate); 0 disables.

0 commit comments

Comments
 (0)