File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,9 @@ const EnvironmentSchema = z.object({
444
444
// Run Engine 2.0
445
445
RUN_ENGINE_WORKER_COUNT : z . coerce . number ( ) . int ( ) . default ( 4 ) ,
446
446
RUN_ENGINE_TASKS_PER_WORKER : z . coerce . number ( ) . int ( ) . default ( 10 ) ,
447
+ RUN_ENGINE_WORKER_CONCURRENCY_LIMIT : z . coerce . number ( ) . int ( ) . default ( 10 ) ,
447
448
RUN_ENGINE_WORKER_POLL_INTERVAL : z . coerce . number ( ) . int ( ) . default ( 100 ) ,
449
+ RUN_ENGINE_WORKER_IMMEDIATE_POLL_INTERVAL : z . coerce . number ( ) . int ( ) . default ( 100 ) ,
448
450
RUN_ENGINE_TIMEOUT_PENDING_EXECUTING : z . coerce . number ( ) . int ( ) . default ( 60_000 ) ,
449
451
RUN_ENGINE_TIMEOUT_PENDING_CANCEL : z . coerce . number ( ) . int ( ) . default ( 60_000 ) ,
450
452
RUN_ENGINE_TIMEOUT_EXECUTING : z . coerce . number ( ) . int ( ) . default ( 60_000 ) ,
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ function createRunEngine() {
18
18
workers : env . RUN_ENGINE_WORKER_COUNT ,
19
19
tasksPerWorker : env . RUN_ENGINE_TASKS_PER_WORKER ,
20
20
pollIntervalMs : env . RUN_ENGINE_WORKER_POLL_INTERVAL ,
21
+ immediatePollIntervalMs : env . RUN_ENGINE_WORKER_IMMEDIATE_POLL_INTERVAL ,
22
+ limit : env . RUN_ENGINE_WORKER_CONCURRENCY_LIMIT ,
21
23
shutdownTimeoutMs : env . RUN_ENGINE_WORKER_SHUTDOWN_TIMEOUT_MS ,
22
24
redis : {
23
25
keyPrefix : "engine:" ,
You can’t perform that action at this time.
0 commit comments