Skip to content

Commit

Permalink
refactor(server_core): 🚨 Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zmerp committed Jan 15, 2025
1 parent 1db05ef commit be16f3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions alvr/server_core/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,9 @@ pub fn handshake_loop(ctx: Arc<ConnectionContext>, lifecycle_state: Arc<RwLock<L
}
};

if let WiredConnectionStatus::NotReady(m) = status {
dbg_connection!("handshake_loop: Wired connection not ready: {m}");
#[cfg_attr(not(debug_assertions), allow(unused_variables))]
if let WiredConnectionStatus::NotReady(s) = status {
dbg_connection!("handshake_loop: Wired connection not ready: {s}");
thread::sleep(RETRY_CONNECT_MIN_INTERVAL);
continue;
}
Expand Down

0 comments on commit be16f3d

Please sign in to comment.