]> source.dussan.org Git - gitea.git/commit
Make Repo Code Indexer an Unique Queue (#17515)
authorzeripath <art27@cantab.net>
Tue, 2 Nov 2021 03:14:24 +0000 (03:14 +0000)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 03:14:24 +0000 (11:14 +0800)
commitcb9c8184c9b0967e0b0fbc5eeedec4ba3ae4f020
treefc53b76eb65345529a7ec435d7864601f3681337
parente2995ef515fcaa92c7a0c9611d5294e13cf2b875
Make Repo Code Indexer an Unique Queue (#17515)

The functioning of the code indexer queue really only makes sense as an unique queue
and doing this allows use to simplify the indexer data to simply delete the data if
the repo is no longer in the db.

Signed-off-by: Andrew Thornton <art27@cantab.net>
integrations/repo_search_test.go
modules/indexer/code/indexer.go
modules/notification/indexer/indexer.go