-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgunicorn.conf.py
More file actions
30 lines (21 loc) · 640 Bytes
/
Copy pathgunicorn.conf.py
File metadata and controls
30 lines (21 loc) · 640 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import os
bind = "0.0.0.0:8000"
backlog = 2048
workers = int(os.getenv("WEB_CONCURRENCY", 2))
worker_class = "sync"
worker_connections = 1000
timeout = int(os.getenv("TIMEOUT", 180))
keepalive = 2
max_requests = 50
max_requests_jitter = 10
worker_tmp_dir = "/dev/shm"
loglevel = os.getenv("LOG_LEVEL", "info").lower()
access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" %(D)s'
accesslog = "-"
errorlog = "-"
proc_name = "deepfx_studio"
preload_app = True
tmp_upload_dir = "/tmp"
limit_request_line = 8192
limit_request_fields = 200
limit_request_field_size = 8192