Relay: a wait for landings with nothing left to land gives up and is counted, no longer waits forever #1591
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1591"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T22:04:14Z.
What it changes
relay_waitwaits onLINE_LANDEDuntil its condition is met. When the line is empty and not settling, no landing is left that could wake it, so a condition still unmet then (a range still pending that no flight in the line holds) waits forever and the title hangs.The loop now gives up in that case. The one caller this reaches already retries three times and then falls back to its own settle. The first time it happens a warning names the reason, and the late-line report gives how many waits were given up since the start.
How it was tested
cargo checkand clippy only, not run in a game yet.cargo testpassed for the crates it touches:cargo checkand clippy.Checked for overlap