Files
MarekWo 5202665c1a fix(logs): break werkzeug ↔ socket.io polling feedback loop
The MemoryLogHandler broadcasts every record to the /logs namespace, but
with async_mode='threading' Socket.IO falls back to long-polling. Each
polling request is logged by werkzeug, the broadcast wakes the pending
poll, the client immediately re-polls, and the cycle repeats — producing
10+ requests/sec per open System Log tab. Filter werkzeug access logs
for /socket.io/ and /api/logs/ paths so neither the buffer nor the
broadcast trigger the loop.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-10 20:25:23 +02:00
..