mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
The MCP server's reader queues at most 64 lines for the engine and stops reading past that until the engine catches up. The reply to a line that is not JSON, or that is longer than the line limit, skipped that check: while a call had run for less than the busy limit (two seconds by default), or while the engine was behind, every such line added a reply to the queue. In the new test, 192 lines that are not JSON leave 192 replies queued on main. These replies now wait for room as requests do, and still go out at once when the running call has passed the busy limit.