Upload files to "/"

This commit is contained in:
2026-07-24 15:20:30 +00:00
commit f84b149521
5 changed files with 494 additions and 0 deletions

18
gunicorn.conf.py Normal file
View File

@@ -0,0 +1,18 @@
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