You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/graceful
wxiaoguang 90a3f2d4b7
Avoid unexpected panic in graceful manager (#29629)
There is a fundamental design problem of the "manager" and the "wait
group".
If nothing has started, the "Wait" just panics: sync: WaitGroup is
reused before previous Wait has returned
There is no clear solution besides a complete rewriting of the "manager"

If there are some mistakes in the app.ini, end users would just see the
"panic", but not the real error messages. A real case: #27643

This PR is just a quick fix for the annoying panic problem.
11 months ago
..
releasereopen Rewrite logger system (#24726) 2 years ago
context.go Improve graceful manager code/comment (#28063) 1 year ago
manager.go Improve graceful manager code/comment (#28063) 1 year ago
manager_common.go Suggest to use Type=simple for systemd service (#28717) 1 year ago
manager_unix.go Avoid unexpected panic in graceful manager (#29629) 11 months ago
manager_windows.go Avoid unexpected panic in graceful manager (#29629) 11 months ago
net_unix.go Improve graceful manager code/comment (#28063) 1 year ago
net_windows.go Improve graceful manager code/comment (#28063) 1 year ago
restart_unix.go Fix regression: access log template, gitea manager cli command (#24838) 2 years ago
server.go Improve graceful manager code/comment (#28063) 1 year ago
server_hooks.go Implement FSFE REUSE for golang files (#21840) 2 years ago
server_http.go Improve graceful manager code/comment (#28063) 1 year ago