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({
444444 // Run Engine 2.0
445445 RUN_ENGINE_WORKER_COUNT : z . coerce . number ( ) . int ( ) . default ( 4 ) ,
446446 RUN_ENGINE_TASKS_PER_WORKER : z . coerce . number ( ) . int ( ) . default ( 10 ) ,
447+ RUN_ENGINE_WORKER_CONCURRENCY_LIMIT : z . coerce . number ( ) . int ( ) . default ( 10 ) ,
447448 RUN_ENGINE_WORKER_POLL_INTERVAL : z . coerce . number ( ) . int ( ) . default ( 100 ) ,
449+ RUN_ENGINE_WORKER_IMMEDIATE_POLL_INTERVAL : z . coerce . number ( ) . int ( ) . default ( 100 ) ,
448450 RUN_ENGINE_TIMEOUT_PENDING_EXECUTING : z . coerce . number ( ) . int ( ) . default ( 60_000 ) ,
449451 RUN_ENGINE_TIMEOUT_PENDING_CANCEL : z . coerce . number ( ) . int ( ) . default ( 60_000 ) ,
450452 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() {
1818 workers : env . RUN_ENGINE_WORKER_COUNT ,
1919 tasksPerWorker : env . RUN_ENGINE_TASKS_PER_WORKER ,
2020 pollIntervalMs : env . RUN_ENGINE_WORKER_POLL_INTERVAL ,
21+ immediatePollIntervalMs : env . RUN_ENGINE_WORKER_IMMEDIATE_POLL_INTERVAL ,
22+ limit : env . RUN_ENGINE_WORKER_CONCURRENCY_LIMIT ,
2123 shutdownTimeoutMs : env . RUN_ENGINE_WORKER_SHUTDOWN_TIMEOUT_MS ,
2224 redis : {
2325 keyPrefix : "engine:" ,
You can’t perform that action at this time.
0 commit comments