This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
gitea
mirror of
https://github.com/go-gitea/gitea.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
212
Wiki
Activity
Browse Source
Fix signal loop in graceful manager (
#19943
)
tags/v1.18.0-dev
wxiaoguang
2 years ago
parent
796c4eca0b
commit
a9dc9b06e4
No account linked to committer's email address
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
modules/graceful/manager_unix.go
+ 1
- 0
modules/graceful/manager_unix.go
View File
@@ -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
}
}
}
Write
Preview
Loading…
Cancel
Save