Fix indexing batch delay in .env.example to prevent memory spikes

This commit is contained in:
Dmitriy Kazimirov 2025-04-06 15:11:05 +00:00
parent abaa27c110
commit 9b3d69ebf5

View file

@ -69,10 +69,10 @@ ADMIN_PASSWORD=securepassword123
ELASTICSEARCH_USERNAME = admin
# Elastic password
ELASTICSEARCH_PASSWORD = password
# Indexing batch size (smaller batches use less memory)
INDEXING_BATCH_SIZE=100
# Delay between batches in milliseconds (helps prevent memory spikes)
INDEXING_BATCH_DELAY=500
ELASTICSEARCH_PASSWORD = password
# Indexing batch size (smaller batches use less memory)
INDEXING_BATCH_SIZE=100
# Delay between batches in seconds (helps prevent memory spikes)
INDEXING_BATCH_DELAY=0.5