uvicorn
uvicorn copied to clipboard
An ASGI web server, for Python. 🦄
# Summary set_event_loop_policy will be deprecated in python 3.13 and uvloop.EventLoopPolicy is deprecated already, this backports and uses the preferred `loop_factory` keyword to configure asyncio.run # Checklist - [x] I...
### Discussed in https://github.com/encode/uvicorn/discussions/1977 Originally posted by **adhihargo** May 14, 2023 Uvicorn used to work fine in my dev laptop running Windows 10, but now every time there's a modified...
After making a few POST requests with large body and small keep-alive, one of the requests ends with the connection aborted. The server said thats all right, but connection is...
# Summary This adds a periodic unblock of the main process to check for signals sent like SIGINT or SIGTERM. In windows the main process does not listen to signals...
# Summary This change propagates Gunicorn's `graceful_timeout` parameter to `Uvicorn`'s `timeout_graceful_shutdown` configuration when running `Uvicorn` as a Gunicorn worker process. # Checklist - [x] I understand that this PR may...
When I use `--reload-exclude`, or another directory is supposed to be watched, I still have the following: ```bash Running development server on 0.0.0.0:8000 INFO: Will watch for changes in these...
Given https://github.com/aaugustin/websockets/issues/975 and https://github.com/aaugustin/websockets/issues/1310#issuecomment-1479780072 we should try to follow @aaugustin's recommendation. We can discuss if we should deprecate the current `WebSocketProtocol`, or if we should replace it, and that's it.
The idea here is to create a setup to test the `gunicorn` worker classes that we have. I don't know how is the best way to achieve this, as [`gunicorn`...
Uvicorn stays alive when all workers are dead. Is this intended behaviour? Could someone explain the benefit of this? Uvicorn does not seem to restart individual workers if they are...
This is a new instance of PR #1716 closed accidentally by deleting the forked repository. Copy of the previous description: > The existing logic for the `log_config` option accepts: >...