From 220d9c4fbb6f600814a4668920c5e9012d64e6a3 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Wed, 17 Jun 2026 14:59:19 +0200 Subject: [PATCH] add INDEXING_CHUNK_INSERT_BATCH_SIZE config --- surfsense_backend/app/config/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/surfsense_backend/app/config/__init__.py b/surfsense_backend/app/config/__init__.py index 97bbda4ef..90182fc1e 100644 --- a/surfsense_backend/app/config/__init__.py +++ b/surfsense_backend/app/config/__init__.py @@ -959,6 +959,9 @@ class Config: CHUNK_RECONCILE_ENABLED = ( os.getenv("CHUNK_RECONCILE_ENABLED", "true").strip().lower() == "true" ) + INDEXING_CHUNK_INSERT_BATCH_SIZE = int( + os.getenv("INDEXING_CHUNK_INSERT_BATCH_SIZE", "200") + ) # Proxy provider selection. Maps to a ProxyProvider implementation registered # in app/utils/proxy/registry.py. Add new vendors there and switch via this var.