Files

10 lines
205 B
Python
Raw Permalink Normal View History

2026-09-20 21:07:10 +02:00
import os
2026-11-01 12:07:04 +01:00
bind = os.environ.get("BIND") or f"0.0.0.0:{os.environ.get('PORT', '8000')}"
2026-09-20 21:07:10 +02:00
workers = min(os.cpu_count() * 2 + 1, 9)
timeout = 30
keepalive = 5
errorlog = "-"
accesslog = "-"
loglevel = "info"