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/cmd
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
..
admin.go Add Close() method to gogitRepository (#8901) 5 years ago
admin_auth_ldap.go Add CLI commands to manage LDAP authentication source (#6681) 5 years ago
admin_auth_ldap_test.go Add CLI commands to manage LDAP authentication source (#6681) 5 years ago
cert.go Add golangci (#6418) 5 years ago
cmd.go Move database settings from models to setting (#7806) 5 years ago
convert.go Move database settings from models to setting (#7806) 5 years ago
dump.go Move database settings from models to setting (#7806) 5 years ago
generate.go Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826) 5 years ago
hook.go Enforce Gitea environment for pushes (#8982) 5 years ago
keys.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 5 years ago
migrate.go Move database settings from models to setting (#7806) 5 years ago
serv.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
web.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago
web_graceful.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago