krburkhart
krburkhart
We've implemented this with a subclass of WSGIHandler. Not ideal, as WSGIHandler is not suppose to be public... import django from django.core.handlers.wsgi import WSGIHandler class TBWSGIHandler(WSGIHandler): def __init__(self, *args, **kwargs):...
Based on above, I believe uvicorn follows the spec properly (and would fix my issue). Hypercorn and Unit do not. > Sent to the application when the server has stopped...
Reconfigure application. What I am doing is: - deploy new code - set up alternate listener for new code, verify working - move default listener to new code This should...
I am using the channels chat example. After reconfigure, the old processes are still running. If I refresh my browser, causing websocket to disconnect/reconnect, the old unit processes immediately exit.
That did not work. I am running 1.22.0. Let me know if I need to patch a newer version or HEAD. I have your example running: kelly@nkcdev11:~/download/nginx/unit-1.22.0.patched $ curl -X...
The new restart feature allows me to accomplish my goal. Thank you.
@VBart, I had not seen that, thanks. The lifespan.shutdown.notice event is exactly what I would like to see. However it appears to have been vetoed. Disappointing for me, however I'm...