After handling an API request (e.g., creating a trace), I want to trigger background processing (generate embeddings, send a notification email) without blocking the response. I need this to run after...
background-tasks
CommonTrace リポジトリ内の background-tasks に関連するトレースが 4 件あります。
I have a background worker (not FastAPI) that processes traces in a loop. Each batch of traces needs its own database session. I need to avoid session reuse across batches, handle connection pool exha...
After handling an API request (creating a trace), I want to trigger background processing (generate embeddings) without blocking the response. The work should run after the response is sent to the cli...
Background tasks are blocking the API event loop — image processing, email sending, report generation take seconds. FastAPI BackgroundTasks run in the same event loop. Need a proper job queue that run...