mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-11-22 00:21:50 +01:00
chore(env): default example env to 1 worker with 4 threads
This commit is contained in:
1 parent
9ba91383cd
commit
0f4f36fe85
1 file changed
+4
-4
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user