mirror of
https://github.com/rommapp/romm.git
synced 2025-12-22 10:27:13 +00:00
changes from review
This commit is contained in:
@@ -36,13 +36,3 @@ args=(sys.stdout,)
|
|||||||
[formatter_gunicorn_format]
|
[formatter_gunicorn_format]
|
||||||
format=INFO: [RomM][gunicorn][%(asctime)s] %(message)s
|
format=INFO: [RomM][gunicorn][%(asctime)s] %(message)s
|
||||||
datefmt=%Y-%m-%d %H:%M:%S
|
datefmt=%Y-%m-%d %H:%M:%S
|
||||||
|
|
||||||
# Gunicorn timeout settings
|
|
||||||
[server]
|
|
||||||
timeout = 300
|
|
||||||
keepalive = 2
|
|
||||||
max_requests = 1000
|
|
||||||
max_requests_jitter = 100
|
|
||||||
preload_app = true
|
|
||||||
worker_connections = 1000
|
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ LOGLEVEL=DEBUG
|
|||||||
|
|
||||||
# Gunicorn (optional)
|
# Gunicorn (optional)
|
||||||
# Workers -> (2 × CPU cores) + 1
|
# Workers -> (2 × CPU cores) + 1
|
||||||
GUNICORN_WORKERS=# Gunicorn timeout settings
|
GUNICORN_WORKERS=2
|
||||||
GUNICORN_TIMEOUT=300
|
GUNICORN_TIMEOUT=300
|
||||||
GUNICORN_KEEPALIVE=2
|
GUNICORN_KEEPALIVE=2
|
||||||
GUNICORN_MAX_REQUESTS=1000
|
GUNICORN_MAX_REQUESTS=1000
|
||||||
|
|||||||
Reference in New Issue
Block a user