1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-29 09:31:11 -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 Add more tests and docs for issue indexer, add db indexer type for searching from database (#6144) 2019-02-21 13:01:28 +08:00
queue_channel.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
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