gitea/modules/indexer/stats
wxiaoguang 88f2e457d8
Fix data-race problems in git module (quick patch) ()
* Fix data-race problems in git module

* use HomeDir instead of setting.RepoRootPath

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
..
db.go Move almost all functions' parameter db.Engine to context.Context ()
indexer.go Move repository model into models/repo ()
indexer_test.go Fix data-race problems in git module (quick patch) ()
queue.go Pause queues ()