mirror of
https://github.com/smittix/intercept.git
synced 2026-06-08 14:11:54 -07:00
a6e62f4674
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>