Issues: Gracefulise the issues indexer

Remove the old now unused specific queues
This commit is contained in:
Andrew Thornton
2019-12-30 18:38:55 +00:00
parent 9ad9070555
commit d6b540475f
8 changed files with 166 additions and 406 deletions
+5
View File
@@ -25,6 +25,11 @@ func (db *DBIndexer) Delete(ids ...int64) error {
return nil
}
// Close dummy function
func (db *DBIndexer) Close() error {
return nil
}
// Search dummy function
func (db *DBIndexer) Search(kw string, repoIDs []int64, limit, start int) (*SearchResult, error) {
total, ids, err := models.SearchIssueIDsByKeyword(kw, repoIDs, limit, start)