1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-29 09:31:11 -05:00
forgejo/routers
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
2019-10-15 14:39:51 +01:00
..
admin Password Complexity Checks (#6230) 2019-10-14 16:24:26 +01:00
api/v1 Move clearlabels from models to issue service (#8326) 2019-10-15 13:03:05 +08:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Fix errors in create org UI regarding team access permission. (#8506) 2019-10-14 19:20:42 +01:00
private Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
repo Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
routes Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
user Password Complexity Checks (#6230) 2019-10-14 16:24:26 +01:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
init.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
install.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00