Nathan
Nathan
An easy way to timeout client requests seem like a good addition to me.
I think issue lies somewhere here: https://github.com/encode/uvicorn/blob/7d4eab20ac0cf0fb07b3afaa9ca35a2ff09fb499/uvicorn/supervisors/basereload.py#L87-L99 With the changes introduced in #1584, it will hang for multiple minutes on the process.join() call. If I remove the changes, so the...
I can only reproduce this issue when the program is run using Pycharm. If I run it directly (either via `uvicorn.run("app:app", reload=True)` in Python, or with the `uvicorn app:app --reload`...
Done: https://youtrack.jetbrains.com/issue/PY-60962/os.killpid-signal.CRTLCEVENT-ignored-when-running-python-program-from-Pycharm. I've added a very small program that has the same issue and does not use Uvicorn. I do not think this is a Uvicorn bug, however if Jetbrains...
@leonardomarcao The issue in Pycharm still persists and is tracked here: https://youtrack.jetbrains.com/issue/PY-60962/os.killpid-signal.CRTLCEVENT-ignored-when-running-python-program-from-Pycharm
Could be related to: https://github.com/encode/uvicorn/issues/2000