python-discord / site

pythondiscord.com - A Django and Bulma web application.
https://pythondiscord.com
MIT License
638 stars 127 forks source link

Add a management command to close all connections #1337

Closed shtlrs closed 1 month ago

shtlrs commented 1 month ago

We are experiencing SSL errors in site which we think are due to the abrupt shut down of the django app.

A potential solution is to close all the connections before shutting the server down.

This will work in conjunction with this infra PR

netlify[bot] commented 1 month ago

Deploy Preview for pydis-static failed.

Name Link
Latest commit a89fe54923d2ff39400f6bd1bdaa68959cc43327
Latest deploy log https://app.netlify.com/sites/pydis-static/deploys/6662ef7b32468a0008ff06a8
shtlrs commented 1 month ago

Yeah i noticed that once i had tested it, and was planning on changing the approach once you look at my suggestion in devoops