mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 02:27:43 +00:00
* perf(wsl): a held WSL spawn reads the running list once The provider-level holds (daemon adapter, daemon-off local provider) accept a running-list read started within a 5 s lease, so they reuse the startup-target hold's probe instead of running wsl --list --running again. A noted stop still forces a fresh read; a read older than the lease probes again. * perf(wsl): a held spawn's provider hold reuses only that spawn's own running read Replaces the 5 s lease: the startup-target hold records a read anchor on the spawn's options and reads after it; the provider hold reads after the same anchor, so it reuses that spawn's read and nothing older. No anchor means a fresh read; a noted stop or wake still forces one. * fix(wsl): cap how old a spawn's own anchored read may be at the provider hold A daemon respawn or a same-session history lock can sit between the two holds, so the provider hold reads after max(anchor, now - 2 s).