From f257d649567377cbe5dee71d47f24751a1d417c7 Mon Sep 17 00:00:00 2001 From: michael-lewis Date: Sat, 8 Jul 2023 14:19:46 +0100 Subject: [PATCH] Changed the number of sites which will be concurrently indexed from 16 to 8, given #99 and #94 will significantly increase memory usage during indexing --- src/indexing/search_my_site_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexing/search_my_site_scheduler.py b/src/indexing/search_my_site_scheduler.py index 75bae50..d73cf73 100644 --- a/src/indexing/search_my_site_scheduler.py +++ b/src/indexing/search_my_site_scheduler.py @@ -73,7 +73,7 @@ " OR (d.indexing_status = 'COMPLETE' AND NOW() - last_full_index_completed > full_reindex_frequency) "\ " OR (d.indexing_status = 'COMPLETE' AND NOW() - last_index_completed > incremental_reindex_frequency) "\ "ORDER BY d.indexing_status DESC, l.tier DESC "\ - "LIMIT 16;" + "LIMIT 8;" # MAINTENANCE JOBS