Task: Implement Zero-Downtime Gunicorn Reload for Django Project
Task: Implement Zero-Downtime Gunicorn Reload for Django Project: a task in Terminal-Lego-15k (Harbor dataset). Create a graceful reload mechanism for a Gunicorn server running a Django project, ensuring zero downtime when deploying new code. The solution should use Gunicorn's built-in graceful…
The task
Create a graceful reload mechanism for a Gunicorn server running a Django project, ensuring zero downtime when deploying new code. The solution should use Gunicorn's built-in graceful reload signal (HUP) instead of a full restart, and include a post-merge Git hook to automate the process.
Part of PrimeIntellect/Terminal-Lego-15k.