Removes db_cleanup from startup, as it can cause issues with how the uvicorn CLI runs. Technically it wasn't needed to run on startup in the first place, as the cleanup will run on first websocket connect anyways.
I haven't detected this issue before since Conreq uses uvicorn's python interface rather than CLI.
This can be seen by doing the following:
1) cd tests
2) uvicorn test_app.asgi:application
Checklist:
Please update this checklist as you complete each item:
[x] Tests have been included for all bug fixes or added functionality.
[x] The changelog has been updated with any significant changes, if necessary.
[x] GitHub Issues which may be closed by this PR have been linked.
Description
Removes
db_cleanup
from startup, as it can cause issues with how theuvicorn
CLI runs. Technically it wasn't needed to run on startup in the first place, as the cleanup will run on first websocket connect anyways.I haven't detected this issue before since Conreq uses uvicorn's python interface rather than CLI.
This can be seen by doing the following: 1)
cd tests
2)uvicorn test_app.asgi:application
Checklist:
Please update this checklist as you complete each item: