11 lines
202 B
Python
11 lines
202 B
Python
import multiprocessing
|
|
|
|
bind = "0.0.0.0:8000"
|
|
workers = max(2, multiprocessing.cpu_count() * 2 + 1)
|
|
worker_class = "gthread"
|
|
threads = 4
|
|
accesslog = "-"
|
|
errorlog = "-"
|
|
loglevel = "info"
|
|
keepalive = 120
|