mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Restore Graceful Restarting & Socket Activation (#7274)
* Prevent deadlock in indexer initialisation during graceful restart * Move from gracehttp to our own service to add graceful ssh * Add timeout for start of indexers and make hammer time configurable * Fix issue with re-initialization in indexer during tests * move the code to detect use of closed to graceful * Handle logs gracefully - add a pid suffix just before restart * Move to using a cond and a holder for indexers * use time.Since * Add some comments and attribution * update modules.txt * Use zero to disable timeout * Move RestartProcess to its own file * Add cleanup routine
This commit is contained in:
9
vendor/modules.txt
vendored
9
vendor/modules.txt
vendored
@@ -132,15 +132,6 @@ github.com/emirpasic/gods/utils
|
||||
github.com/etcd-io/bbolt
|
||||
# github.com/ethantkoenig/rupture v0.0.0-20180203182544-0a76f03a811a
|
||||
github.com/ethantkoenig/rupture
|
||||
# github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a
|
||||
github.com/facebookgo/clock
|
||||
# github.com/facebookgo/grace v0.0.0-20160926231715-5729e484473f
|
||||
github.com/facebookgo/grace/gracehttp
|
||||
github.com/facebookgo/grace/gracenet
|
||||
# github.com/facebookgo/httpdown v0.0.0-20160323221027-a3b1354551a2
|
||||
github.com/facebookgo/httpdown
|
||||
# github.com/facebookgo/stats v0.0.0-20151006221625-1b76add642e4
|
||||
github.com/facebookgo/stats
|
||||
# github.com/fsnotify/fsnotify v1.4.7
|
||||
github.com/fsnotify/fsnotify
|
||||
# github.com/gliderlabs/ssh v0.2.2
|
||||
|
Reference in New Issue
Block a user