mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 04:05:42 +01:00
Fix signal loop in graceful manager (#19943)
This commit is contained in:
parent
796c4eca0b
commit
a9dc9b06e4
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ func (g *Manager) handleSignals(ctx context.Context) {
|
|||
case <-ctx.Done():
|
||||
log.Warn("PID: %d. Background context for manager closed - %v - Shutting down...", pid, ctx.Err())
|
||||
g.DoGracefulShutdown()
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue