Files
mctf/braindance/backend/gunicorn.conf.py
T
TakuyaYagam1 13f936bee9 chore: import MCTF services
- Added all seven issued service trees without omissions.
- Preserved the supplied runtime configuration, binaries, and assets.
2026-11-29 12:25:29 +03:00

16 lines
341 B
Python
Executable File

import sys
worker_tmp_dir = '/tmp'
backlog = 256
worker_connections = 256
keepalive = 15
graceful_timeout = 30
def worker_exit(server, worker):
for name in ('app', 'bd_app', 'bi_app'):
module = sys.modules.get(name)
if module is not None and hasattr(module, '_save_state'):
module._save_state(force=True)