0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -05:00
forgejo/modules/indexer/issues
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
2019-11-21 13:32:02 -05:00
..
bleve.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
bleve_test.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
db.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
indexer.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 2019-11-21 13:32:02 -05:00
indexer_test.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
queue.go
queue_channel.go
queue_disk.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
queue_redis.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00