Skip to content

Commit f2f2963

Browse files
committed
increase cleanup ipc timeout
1 parent 12bfa81 commit f2f2963

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.changeset/young-snails-sell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Increase cleanup IPC timeout

packages/cli-v3/src/workers/prod/backgroundWorker.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -754,10 +754,14 @@ class TaskRunProcess {
754754
killParentProcess,
755755
});
756756

757-
await this._ipc?.sendWithAck("CLEANUP", {
758-
flush: true,
759-
kill: killParentProcess,
760-
});
757+
await this._ipc?.sendWithAck(
758+
"CLEANUP",
759+
{
760+
flush: true,
761+
kill: killParentProcess,
762+
},
763+
30_000
764+
);
761765

762766
if (killChildProcess) {
763767
this._gracefulExitTimeoutElapsed = true;

0 commit comments

Comments
 (0)