Skip to content

Commit a9dc9b0

Browse files
authored
Fix signal loop in graceful manager (#19943)
1 parent 796c4ec commit a9dc9b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/graceful/manager_unix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ func (g *Manager) handleSignals(ctx context.Context) {
157157
case <-ctx.Done():
158158
log.Warn("PID: %d. Background context for manager closed - %v - Shutting down...", pid, ctx.Err())
159159
g.DoGracefulShutdown()
160+
return
160161
}
161162
}
162163
}

0 commit comments

Comments
 (0)