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.
forgejo/modules/graceful
zeripath cbaa1de9ec Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964)
* Graceful Shutdown for windows and others

Restructures modules/graceful, adding shutdown for windows, removing and
replacing the old minwinsvc code.

Creates a new waitGroup - terminate which allows for goroutines to
finish up after the shutdown of the servers.

Shutdown and terminate hooks are added for goroutines.

* Remove unused functions - these can be added in a different PR

* Add startup timeout functionality

* Document STARTUP_TIMEOUT
5 years ago
..
manager.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
manager_unix.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
manager_windows.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
net_unix.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
net_windows.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
restart_unix.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
server.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
server_hooks.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
server_http.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago