File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
internal-packages/run-engine/src/engine Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,7 @@ const EnvironmentSchema = z.object({
460460 RUN_ENGINE_REUSE_SNAPSHOT_COUNT : z . coerce . number ( ) . int ( ) . default ( 0 ) ,
461461 RUN_ENGINE_MAXIMUM_ENV_COUNT : z . coerce . number ( ) . int ( ) . optional ( ) ,
462462 RUN_ENGINE_WORKER_SHUTDOWN_TIMEOUT_MS : z . coerce . number ( ) . int ( ) . default ( 60_000 ) ,
463+ RUN_ENGINE_RETRY_WARM_START_THRESHOLD_MS : z . coerce . number ( ) . int ( ) . default ( 30_000 ) ,
463464
464465 RUN_ENGINE_WORKER_REDIS_HOST : z
465466 . string ( )
@@ -717,7 +718,7 @@ const EnvironmentSchema = z.object({
717718
718719 SLACK_BOT_TOKEN : z . string ( ) . optional ( ) ,
719720 SLACK_SIGNUP_REASON_CHANNEL_ID : z . string ( ) . optional ( ) ,
720-
721+
721722 // kapa.ai
722723 KAPA_AI_WEBSITE_ID : z . string ( ) . optional ( ) ,
723724} ) ;
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ function createRunEngine() {
9595 ...( env . RUN_ENGINE_RUN_QUEUE_REDIS_TLS_DISABLED === "true" ? { } : { tls : { } } ) ,
9696 } ,
9797 } ,
98+ retryWarmStartThresholdMs : env . RUN_ENGINE_RETRY_WARM_START_THRESHOLD_MS ,
9899 } ) ;
99100
100101 return engine ;
Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ export class RunEngine {
304304 waitpointSystem : this . waitpointSystem ,
305305 delayedRunSystem : this . delayedRunSystem ,
306306 machines : this . options . machines ,
307+ retryWarmStartThresholdMs : this . options . retryWarmStartThresholdMs ,
307308 } ) ;
308309
309310 this . dequeueSystem = new DequeueSystem ( {
You can’t perform that action at this time.
0 commit comments