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.
zeripath 167e8f18da
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
5 years ago
..
bleve.go Refactor issue indexer (#5363) 5 years ago
bleve_test.go fix bug when set indexer as db and add tests (#6173) 5 years ago
db.go Add more tests and docs for issue indexer, add db indexer type for searching from database (#6144) 5 years ago
indexer.go Restore Graceful Restarting & Socket Activation (#7274) 5 years ago
indexer_test.go Restore Graceful Restarting & Socket Activation (#7274) 5 years ago
queue.go Add more tests and docs for issue indexer, add db indexer type for searching from database (#6144) 5 years ago
queue_channel.go Add golangci (#6418) 5 years ago
queue_disk.go Use gitea forked macaron (#7933) 5 years ago
queue_redis.go Use gitea forked macaron (#7933) 5 years ago