File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/cli-v3/src/entryPoints/managed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const Env = z.object({
4343 TRIGGER_SUPERVISOR_API_DOMAIN : z . string ( ) ,
4444 TRIGGER_SUPERVISOR_API_PORT : z . coerce . number ( ) ,
4545 TRIGGER_WORKER_INSTANCE_NAME : z . string ( ) ,
46- TRIGGER_HEARTBEAT_INTERVAL_SECONDS : z . coerce . number ( ) . default ( 30 ) ,
46+ TRIGGER_HEARTBEAT_INTERVAL_SECONDS : z . coerce . number ( ) . default ( 20 ) ,
4747 TRIGGER_SNAPSHOT_POLL_INTERVAL_SECONDS : z . coerce . number ( ) . default ( 5 ) ,
4848 TRIGGER_SUCCESS_EXIT_CODE : z . coerce . number ( ) . default ( 0 ) ,
4949 TRIGGER_FAILURE_EXIT_CODE : z . coerce . number ( ) . default ( 1 ) ,
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ export class RunExecution {
110110 env : {
111111 ...envVars ,
112112 ...this . env . gatherProcessEnv ( ) ,
113+ HEARTBEAT_INTERVAL_MS : String ( this . env . TRIGGER_HEARTBEAT_INTERVAL_SECONDS * 1000 ) ,
113114 } ,
114115 serverWorker : {
115116 id : "managed" ,
You can’t perform that action at this time.
0 commit comments