Initial taiko.su easter-egg site

This commit is contained in:
2026-07-28 13:05:53 +08:00
commit ba68c17898
200 changed files with 16098 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import multiprocessing
import os
bind = os.getenv("TAIKO_WEB_BIND", "0.0.0.0:80")
worker_class = "gthread"
workers = int(
os.getenv(
"TAIKO_WEB_GUNICORN_WORKERS",
max(1, min(2, multiprocessing.cpu_count())),
)
)
threads = int(os.getenv("TAIKO_WEB_GUNICORN_THREADS", "4"))
timeout = int(os.getenv("TAIKO_WEB_GUNICORN_TIMEOUT", "60"))
graceful_timeout = int(os.getenv("TAIKO_WEB_GUNICORN_GRACEFUL_TIMEOUT", "30"))
keepalive = int(os.getenv("TAIKO_WEB_GUNICORN_KEEPALIVE", "5"))
max_requests = int(os.getenv("TAIKO_WEB_GUNICORN_MAX_REQUESTS", "2000"))
max_requests_jitter = int(os.getenv("TAIKO_WEB_GUNICORN_MAX_REQUESTS_JITTER", "200"))