You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a background task to FastAPI’s BackgroundTasks, the execution of the task still blocks the main thread or API request. This issue persists even though the task is correctly added to BackgroundTasks.
Description:
When adding a background task to FastAPI’s BackgroundTasks, the execution of the task still blocks the main thread or API request. This issue persists even though the task is correctly added to BackgroundTasks.
Environment:
• FastAPI Version: 0.112.1
• FastAPI-Mail Version: 1.4.1
• Python Version: 3.10
• SMTP Server: Mailpit (running in Docker)
• Operating System: macOS Sequoia 15.0.1 (Apple M1)
Api Code
this is a test api
2024-12-17.6.07.31.mov
The text was updated successfully, but these errors were encountered: