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
Detect event handlers that block the asyncio event loop (CPU-bound work or synchronous I/O inside an async handler, or a long-running sync handler executed inline) and report them clearly in dev mode, instead of letting the whole app turn sluggish with no indication of which handler is responsible.
Proposal
Wrap handler execution in the event processor with a blocking detector when running in dev mode. pyleak can detect a blocked loop around a code region; the alternative is a watchdog task that measures loop lag (scheduled wakeup vs actual wakeup) and attributes it to the handler running at that moment.
Activity
linear-code commentedon Oct 20, 2026
ENG-13468
ENG-6436