Files
KittyRec2018-Leak/gunicorn.conf.py
2026-07-24 15:20:30 +00:00

19 lines
338 B
Python

worker_class = "gevent"
workers = 1
worker_connections = 1000
bind = "0.0.0.0:8080"
timeout = 120
keepalive = 5
loglevel = "warning"
accesslog = "-"
errorlog = "-"
def on_starting(server):
import glob, os
for f in glob.glob('/tmp/_kr_started_*'):
try:
os.unlink(f)
except Exception:
pass