diff --git a/.env.example b/.env.example index b8654efc..74ba734f 100644 --- a/.env.example +++ b/.env.example @@ -22,10 +22,10 @@ SQL_HOST=${DB_NAME} SQL_PORT=5432 # Gunicorn -WEB_CONCURRENCY=4 -# Threads per web worker. Each worker is a full copy of the app in memory; threads share it. -# For low traffic, WEB_CONCURRENCY=1 with WEB_THREADS=4 uses far less memory. -WEB_THREADS=1 +# Each worker is a full copy of the app in memory (~140 MiB); threads share their worker's memory. +# One worker with a few threads is plenty for a personal instance. Add workers only for heavy traffic. +WEB_CONCURRENCY=1 +WEB_THREADS=4 # App Configs # Enable this if you want to keep deleted transactions in the database