Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 30cf89a

Browse files
committed
Increase shutdown grace period (5s -> 30s)
1 parent 0235c4b commit 30cf89a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

internal/process/supervisor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ func (sv *supervisor) run(ctx context.Context, name string, command Command) fun
232232
}
233233

234234
select {
235-
case <-time.After(5 * time.Second):
236-
// The process is still running after 5 seconds, so
235+
case <-time.After(30 * time.Second):
236+
// The process is still running after 30 seconds, so
237237
// we need to kill it more forcefully. If we're in this
238238
// branch, that means the process is being killed, so we
239239
// should ignore the error message from killing, and

version

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)