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({
43
43
TRIGGER_SUPERVISOR_API_DOMAIN : z . string ( ) ,
44
44
TRIGGER_SUPERVISOR_API_PORT : z . coerce . number ( ) ,
45
45
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 ) ,
47
47
TRIGGER_SNAPSHOT_POLL_INTERVAL_SECONDS : z . coerce . number ( ) . default ( 5 ) ,
48
48
TRIGGER_SUCCESS_EXIT_CODE : z . coerce . number ( ) . default ( 0 ) ,
49
49
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 {
110
110
env : {
111
111
...envVars ,
112
112
...this . env . gatherProcessEnv ( ) ,
113
+ HEARTBEAT_INTERVAL_MS : String ( this . env . TRIGGER_HEARTBEAT_INTERVAL_SECONDS * 1000 ) ,
113
114
} ,
114
115
serverWorker : {
115
116
id : "managed" ,
You can’t perform that action at this time.
0 commit comments