aboutsummaryrefslogtreecommitdiffstats
path: root/services/cron
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2023-10-16 02:56:57 +0800
committerGitHub <noreply@github.com>2023-10-15 18:56:57 +0000
commit1be49fdda660bce8d33cbd52f9a04629f1878d8f (patch)
treea1d2ff8a682c95984ac6c8f03318521dc4cf9371 /services/cron
parentcddf245c12223c783c856c87c21cc796ac425439 (diff)
downloadgitea-1be49fdda660bce8d33cbd52f9a04629f1878d8f.tar.gz
gitea-1be49fdda660bce8d33cbd52f9a04629f1878d8f.zip
Improve retrying index issues (#27554)
Fix #27540
Diffstat (limited to 'services/cron')
-rw-r--r--services/cron/tasks_extended.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/cron/tasks_extended.go b/services/cron/tasks_extended.go
index b9fd1dfcff..1dd5d70a38 100644
--- a/services/cron/tasks_extended.go
+++ b/services/cron/tasks_extended.go
@@ -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)
})
}