server: fix pong bytes reference — backend now compiles cleanly (only dead_code warnings for future-use types)
This commit is contained in:
parent
2e55d5c832
commit
bae17ae444
@ -95,7 +95,7 @@ pub async fn ws_index(
|
|||||||
}
|
}
|
||||||
Message::Ping(bytes) => {
|
Message::Ping(bytes) => {
|
||||||
last_heartbeat = Instant::now();
|
last_heartbeat = Instant::now();
|
||||||
let _ = session.pong(bytes).await;
|
let _ = session.pong(&bytes).await;
|
||||||
}
|
}
|
||||||
Message::Close(reason) => {
|
Message::Close(reason) => {
|
||||||
info!(
|
info!(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user