mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 22:59:59 -07:00
The custom SIGINT/SIGTERM handler in utils/process.py overrode gunicorn's own signal management, causing KeyboardInterrupt to fire inside the gevent worker on Ctrl+C instead of allowing gunicorn's graceful shutdown. Now detects if another signal manager (gunicorn) has already installed handlers and defers to it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9.1 KiB
9.1 KiB