summaryrefslogtreecommitdiffstats
path: root/modules/indexer/issues/indexer.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-02-25 00:16:20 +0800
committertechknowlogick <matti@mdranta.net>2019-02-24 11:16:20 -0500
commit15ecc08475c49926b9d5f6fb4182578683f75d63 (patch)
tree94064c7701146619b05dd614b42dde68d8c370c5 /modules/indexer/issues/indexer.go
parent05143768d0948d3f5e24aa5b87b68ee2ae9a7e6f (diff)
downloadgitea-15ecc08475c49926b9d5f6fb4182578683f75d63.tar.gz
gitea-15ecc08475c49926b9d5f6fb4182578683f75d63.zip
fix bug when set indexer as db and add tests (#6173)
Diffstat (limited to 'modules/indexer/issues/indexer.go')
-rw-r--r--modules/indexer/issues/indexer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/indexer/issues/indexer.go b/modules/indexer/issues/indexer.go
index c5d6d05a60..4d7e64adc7 100644
--- a/modules/indexer/issues/indexer.go
+++ b/modules/indexer/issues/indexer.go
@@ -72,6 +72,7 @@ func InitIssueIndexer(syncReindex bool) error {
}
if dummyQueue {
+ issueIndexerUpdateQueue = &DummyQueue{}
return nil
}