mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-24 16:41:30 +02:00
The poll interval was not bounded by the window: a page that came back without the row just before the deadline still slept a full two seconds before the loop noticed it was out of budget, so the caller waited longer than the window it asked for to be told nothing arrived. Cap the wait at whatever is left of the window.