11 Commits (35c3553870e35b2e7cfcc599645791acda6afcef)

Author SHA1 Message Date
zeripath e7923c4bc0 Fix missing unlock in uniquequeue (#9790) 5 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282)
* Change graceful to use a singleton obtained through GetManager instead of a global.
* Graceful: Make TestPullRequests shutdownable
* Graceful: Make the cron tasks graceful
* Graceful: AddTestPullRequest run in graceful ctx
* Graceful: SyncMirrors shutdown
* Graceful: SetDefaultContext for Xorm to be HammerContext
* Avoid starting graceful for migrate commands and checkout
* Graceful: DeliverHooks now can be shutdown
* Fix multiple syncing errors in modules/sync/UniqueQueue &  Make UniqueQueue closable
* Begin the process of making the repo indexer shutdown gracefully
5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933)
Signed-off-by: Tamal Saha <tamal@appscode.com>
5 years ago
Ethan Koenig bfb44f8854 Fix status table race condition (#1835) 7 years ago
Ethan Koenig 021904e4e6 Fix typos in models/ and modules/ (#1248) 7 years ago
Andrew a36a8f4d72 Add missing copyright header to status table test (#902) 7 years ago
Andrew 1da7dd3da9 Improve status table implementation (#879)
* Remove superfluous defer calls

* Improve status table implementation as well

This would probably only help with large, high-traffic installs
7 years ago
Unknwon c1ecb6c60a modules/sync: add UniqueQueue 8 years ago
Unknwon 43297148b2 modules/sync: rename SingleInstancePool to ExclusivePool 8 years ago
Unknwon ec332cf903 Minor naming improvement 8 years ago
Unknwon 660e7a178a modules/sync: move sync objects to independent module 8 years ago