Expected behavior
The app starts showing: (which works on v0.2.0
$ python main.py
INFO: Started server process [4160]
INFO: Waiting for application startup.
INFO:__main__:REPETITION EXECUTED.
INFO: Application startup complete.
INFO: Uvicorn running on http://localhost:8080 (Press CTRL+C to quit)
INFO:__main__:REPETITION EXECUTED.
But in v0.6.0 the server is blocked by repeat_every execution:
$ python main.py
INFO: Started server process [4223]
INFO: Waiting for application startup. <<<< It never gets past this
INFO:__main__:REPETITION EXECUTED.
Describe the bug On v.0.6.0 the @repeat_every will prevent the application from starting up.
To Reproduce A simple
@repeat_every
implementation:Expected behavior The app starts showing: (which works on v0.2.0
But in v0.6.0 the server is blocked by
repeat_every
execution:Environment:
Python 3.12.2