mirror of
https://github.com/telemt/telemt.git
synced 2026-10-12 04:15:59 +03:00
Hardswap Invariants in tests + Quota fixes
This commit is contained in:
@@ -39,6 +39,7 @@ pub(super) async fn run_lane(
|
||||
let down = session.poll_down_websocket_lane(reservation.lane_identity(), cursor);
|
||||
tokio::pin!(down);
|
||||
let event = tokio::select! {
|
||||
biased;
|
||||
_ = cancellation.cancelled() => return Err(()),
|
||||
_ = tokio::time::sleep_until(open_deadline.into()), if !active => return Err(()),
|
||||
_ = tokio::time::sleep_until(next_ping.into()) => DriverEvent::Liveness,
|
||||
|
||||
Reference in New Issue
Block a user