Hello, using the following converted fastapi app, serving the resulting wsgi app with gunicorn and then hitting the route with the vegeta load testing tool im seeing the error after about a minute of requests.
Error starts dumping in the app.log about a minute into the requests
Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<FastAPI.__call__() running at ../venv/lib64/python3.11/site-packages/fastapi/applications.py:1055> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[ASGIResponder.asgi_done_callback()]>
Hello, using the following converted fastapi app, serving the resulting wsgi app with gunicorn and then hitting the route with the vegeta load testing tool im seeing the error after about a minute of requests.
Error starts dumping in the app.log about a minute into the requests
Launching the wsgi app with 10 gunicorn workers
Hitting the route with the vegeta testing tool
echo "GET http://localhost:8000/hello" | vegeta attack --duration=120s --rate=50 | tee results.bin | vegeta report
The error doesnt happen with an asgi app (uvicorn alone or gunicorn as a process manager with uvicorn workers). Any help is appreciated.