From f0c600cbf25fcbae14392f1bf19f7219411e8ba4 Mon Sep 17 00:00:00 2001 From: Brandur Date: Sat, 25 Apr 2026 03:04:38 -0500 Subject: [PATCH] Remove unused reindexer constant I just noticed while putting together #1228 that we have an unused constant in the reindexer, `ReindexerIntervalDefault`, as some time back the interval was replaced by a schedule func. Here, drop it. --- internal/maintenance/reindexer.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/maintenance/reindexer.go b/internal/maintenance/reindexer.go index 6eb09955..dbfdcbe6 100644 --- a/internal/maintenance/reindexer.go +++ b/internal/maintenance/reindexer.go @@ -16,8 +16,6 @@ import ( ) const ( - ReindexerIntervalDefault = 24 * time.Hour - // ReindexerTimeoutDefault is the default timeout of the reindexer. // // We've had user reports of builds taking 45 seconds on large tables, so