mirror of
https://github.com/telemt/telemt.git
synced 2026-10-12 04:15:59 +03:00
Bridge Request/Buffers/Recovery
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
@@ -133,6 +133,9 @@ pub(super) async fn run_lane(
|
||||
&payload,
|
||||
Instant::now(),
|
||||
);
|
||||
if !session.record_websocket_peer_activity() {
|
||||
return Err(());
|
||||
}
|
||||
connection.mark_peer_activity();
|
||||
next_ping = Instant::now() + liveness_interval;
|
||||
}
|
||||
@@ -155,6 +158,9 @@ pub(super) async fn run_lane(
|
||||
&payload,
|
||||
started,
|
||||
);
|
||||
if !session.record_websocket_peer_activity() {
|
||||
return Err(());
|
||||
}
|
||||
connection.mark_peer_activity();
|
||||
next_ping = Instant::now() + liveness_interval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user