Improve retrying index issues (#27554) (#27634)

Backport #27554 by @wolfogre

Fix #27540

Co-authored-by: Jason Song <i@wolfogre.com>
This commit is contained in:
GiteabotandJason Song authored and GitHub committed 2023-10-16 09:55:53 +08:00
1 parent 066aee28a5
commit 8cf7548a18
5 files changed
+52 -40

No files matched your search

+1 -1
View File
@@ -219,7 +219,7 @@ func registerRebuildIssueIndexer() {
RunAtStart: false,
Schedule: "@annually",
}, func(ctx context.Context, _ *user_model.User, config Config) error {
return issue_indexer.PopulateIssueIndexer(ctx, false)
return issue_indexer.PopulateIssueIndexer(ctx)
})
}