Files
mc-webui/app
MarekWo 743969291e perf(api): batch echo enrichment in /api/messages
Replace per-message get_echoes_for_message() calls (N+1, up to 500
queries per request) with a single get_echoes_for_payloads() batch
query. With connection-per-call over a Windows bind mount each query
cost ~66 ms, making the endpoint take 33 s and time out in the UI;
now it completes in ~0.5 s.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 22:37:29 +02:00
..