Background tasks never being called after updating #1676
-
Recently after making some minor changes to my project, I found that my workflow for my unit tests stopped passing but the tests on my local machine still passed. After upgrading Starlette to After doing a bit of digging, it appears none of my background tasks are running anymore. When replacing the background tasks with just the function they call in the background, the unit tests past. This is also happening outside of unit tests too, when spinning up my development environment locally. The API doesn't function as it should. Also after downgrading back to
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Do you use BaseHTTPMiddleware? |
Beta Was this translation helpful? Give feedback.
Do you use BaseHTTPMiddleware?