Merge pull request #4255 from omChauhanDev/fix/async-gc-collect

PipelineRunner: make _gc_collect async
This commit is contained in:
Aleix Conchillo Flaqué
2026-04-09 12:09:38 -07:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

1
changelog/4255.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed `PipelineRunner._gc_collect()` blocking the event loop by running `gc.collect()` synchronously. Now offloaded via `asyncio.to_thread` to avoid stalling concurrent pipeline tasks.