Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) | zeripath | 2019-11-21 | 12 | -281/+550 | |
| | | | | | | | | | | | | | | | | | | * 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 | |||||
* | Graceful fixes (#8645) | zeripath | 2019-10-23 | 4 | -7/+33 | |
| | | | | | | | | | | * Only attempt to kill parent once * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Add waitgroup for running servers | |||||
* | Restrict modules/graceful to non-windows build and shim the IsChild marker ↵ | zeripath | 2019-10-16 | 8 | -0/+25 | |
| | | | | (#8537) | |||||
* | Restore Graceful Restarting & Socket Activation (#7274) | zeripath | 2019-10-15 | 7 | -0/+838 | |
* 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 |