Initial commit: Quality App v2 - FG Scan Module with Reports
This commit is contained in:
27
gunicorn.conf.py
Normal file
27
gunicorn.conf.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# Gunicorn Configuration for Quality App v2
|
||||
|
||||
import multiprocessing
|
||||
|
||||
# Server socket configuration
|
||||
bind = "0.0.0.0:8080"
|
||||
backlog = 512
|
||||
|
||||
# Worker processes
|
||||
workers = multiprocessing.cpu_count() * 2 + 1
|
||||
worker_class = "sync"
|
||||
worker_connections = 1000
|
||||
timeout = 60
|
||||
keepalive = 2
|
||||
|
||||
# Logging
|
||||
loglevel = "info"
|
||||
accesslog = "/app/data/logs/access.log"
|
||||
errorlog = "/app/data/logs/error.log"
|
||||
|
||||
# Process naming
|
||||
proc_name = "quality_app_v2"
|
||||
|
||||
# Server mechanics
|
||||
daemon = False
|
||||
preload_app = False
|
||||
reload = False
|
||||
Reference in New Issue
Block a user