forked from forgejo/forgejo
fix bug when set indexer as db and add tests (#6173)
This commit is contained in:
parent
05143768d0
commit
15ecc08475
3 changed files with 30 additions and 3 deletions
|
@ -72,6 +72,7 @@ func InitIssueIndexer(syncReindex bool) error {
|
|||
}
|
||||
|
||||
if dummyQueue {
|
||||
issueIndexerUpdateQueue = &DummyQueue{}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue