Answer each broker request without waiting on the others #6
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/concurrent-requests"
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?
A roster-wide
listwaits on its slowest host, and an ssh host whose machine is asleep takes the full 20 s dial timeout to fail. The broker loop ran each request to completion before reading the next message, so for those 20 s every other request queued behind it, including the attach that restores a tab and keystrokes on tabs already open. On a phone, this meant no sessions appeared after reopening the app.Requests that reach a daemon now run as tasks beside the loop and reply by
rewhen they finish.hostsanddetachare still answered inline. An opened stream goes back to the loop to get itssid, and its reply goes out before the relay starts.hostsas the liveness probe.hostsreply. The test fails on main after 5 s.