File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ const Env = z.object({
3939 TRIGGER_DEQUEUE_MIN_CONSUMER_COUNT : z . coerce . number ( ) . int ( ) . default ( 1 ) ,
4040 TRIGGER_DEQUEUE_MAX_CONSUMER_COUNT : z . coerce . number ( ) . int ( ) . default ( 10 ) ,
4141 TRIGGER_DEQUEUE_SCALING_STRATEGY : z . enum ( [ "none" , "smooth" , "aggressive" ] ) . default ( "none" ) ,
42- TRIGGER_DEQUEUE_SCALING_UP_COOLDOWN_MS : z . coerce . number ( ) . int ( ) . default ( 10000 ) , // 10 seconds
43- TRIGGER_DEQUEUE_SCALING_DOWN_COOLDOWN_MS : z . coerce . number ( ) . int ( ) . default ( 60000 ) , // 60 seconds
42+ TRIGGER_DEQUEUE_SCALING_UP_COOLDOWN_MS : z . coerce . number ( ) . int ( ) . default ( 5000 ) , // 5 seconds
43+ TRIGGER_DEQUEUE_SCALING_DOWN_COOLDOWN_MS : z . coerce . number ( ) . int ( ) . default ( 30000 ) , // 30 seconds
4444 TRIGGER_DEQUEUE_SCALING_TARGET_RATIO : z . coerce . number ( ) . default ( 1.0 ) , // Target ratio of queue items to consumers (1.0 = 1 item per consumer)
4545 TRIGGER_DEQUEUE_SCALING_EWMA_ALPHA : z . coerce . number ( ) . min ( 0 ) . max ( 1 ) . default ( 0.3 ) , // EWMA smoothing factor (0-1)
4646 TRIGGER_DEQUEUE_SCALING_BATCH_WINDOW_MS : z . coerce . number ( ) . int ( ) . positive ( ) . default ( 1000 ) , // Batch window for metrics processing (ms)
You can’t perform that action at this time.
0 commit comments