Max
Max
> Can we add a test case that fails with the existing implementation here? 🤔 I suppose you need to pass the result of `asyncio.ensure_future(my_receive())` into `await_many_dispatch()`. ``` diff --git...
Hello, Note, Ubuntu 20.04 shipped with php-7.4 and official package built against this version. I assume you've initially installed `unit` and `unit-php` from packages.nginx.org/unit and setup `add-apt-repository ppa:ondrej/php` for php8....
The root of the issue is the soname of `/lib/libphp8.0.so` and `/lib/libphp8.1.so`: both have the same soname `libphp.so`. Use `readelf -d /lib/libphp8.1.so | grep soname` to check. So, for your...
Hello, It seems I understand what you are trying to achieve. According to [ASGI Spec](https://asgi.readthedocs.io/en/latest/specs/lifespan.html#shutdown-receive-event), the `lifespan.shutdown` event should be > Sent to the application when the server has stopped...
To reproduce your issue should I stop Unit or reconfigure application?
Correct. Unit should keep the application process running while WebSocket connections served by the process are opened. Unfortunately, there is a bug in Unit code, which makes established WebSocket connections...
> ... **old version does not shut down.** If I refresh the web browser, then the old process shuts down. This is how it supposed to work. Unit keeps the...
I would suggest the following sequence for test and deployment using restart feature introduced in 1.25.0: - deploy new code; - set up exact copy of the application with"-test" suffix,...
Hello. This is not an error. Just ignore it. [ASGI spec](https://asgi.readthedocs.io/en/latest/specs/lifespan.html#scope) allows to throw an exception during lifetime processing. Maybe we should log such message on debug level.. Btw, does...
Hello. It looks like a memory limit issue. Try to change the number of application processes for fixed value (say `"processes": 10`). Is there any difference? Crashes: Check the `dmesg`...