reduce search index batch size (#2590)

This commit is contained in:
Jason Dove
2025-11-01 22:45:14 -05:00
committed by GitHub
parent 63f342e6a7
commit 9e54d42e5f
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ public class SearchIndexService : BackgroundService
private readonly IServiceScopeFactory _serviceScopeFactory;
private readonly SystemStartup _systemStartup;
private const int MaxBatchSize = 1000;
private const int MaxBatchSize = 100;
private readonly TimeSpan _maxBatchTime = TimeSpan.FromSeconds(10);
private enum SearchOperation { Reindex, Remove }