mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
* fix(relay): release a drained host before telling it to leave A zero-grace drain sent `drain` and closed with 4503 in the same tick, then released the host's control lease. The desktop redials the director as soon as it reads either, and from asia-east2 the release holds the host's assignment row for ~1 s, so the redial met it and was refused row_busy. The release now runs first and the host is told once it lands, bounded at 2 s; a failed or stuck release still closes. Wire frames are unchanged. * fix(relay): give a drained host's release 3 s and log when it runs out One host's releases run one after another, so 3 s covers a control lease plus one open phone connection from asia-east2. * style(relay): brace the drain release branches