From cb9c8184c9b0967e0b0fbc5eeedec4ba3ae4f020 Mon Sep 17 00:00:00 2001 From: zeripath Date: Tue, 2 Nov 2021 03:14:24 +0000 Subject: 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 --- integrations/repo_search_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'integrations') diff --git a/integrations/repo_search_test.go b/integrations/repo_search_test.go index 6f2ee37460..56d89fee30 100644 --- a/integrations/repo_search_test.go +++ b/integrations/repo_search_test.go @@ -44,7 +44,6 @@ func TestSearchRepo(t *testing.T) { repo, err = models.GetRepositoryByOwnerAndName("user2", "glob") assert.NoError(t, err) - executeIndexer(t, repo, code_indexer.DeleteRepoFromIndexer) executeIndexer(t, repo, code_indexer.UpdateRepoIndexer) testSearch(t, "/user2/glob/search?q=loren&page=1", []string{"a.txt"}) -- cgit v1.2.3