Miksus / rocketry-with-fastapi

Example of how to create a scheduler with an API
MIT License
87 stars 11 forks source link

is it possible to use reload when running uvicorn ? #3

Open DaniFik07 opened 2 years ago

DaniFik07 commented 2 years ago

i tried this way but didn't work uvicorn.Config( reload=true, workers=1, loop="asyncio")

Yangeok commented 1 year ago

Same issue

cudjo commented 1 year ago

I use this startup method and reloading works.

image
DaniFik07 commented 1 year ago

I use this startup method and reloading works. image

how does the flow of the system by using this method ? does the task run inside the app instead of run parallel with the app ?