Skip to content

Commit

Permalink
Fix connection timeout on server
Browse files Browse the repository at this point in the history
  • Loading branch information
zmerp committed Aug 17, 2023
1 parent 6d3d41e commit eaeb351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alvr/server/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use tokio::runtime::Runtime;

const RETRY_CONNECT_MIN_INTERVAL: Duration = Duration::from_secs(1);
const HANDSHAKE_ACTION_TIMEOUT: Duration = Duration::from_secs(2);
const STREAMING_RECV_TIMEOUT: Duration = Duration::from_secs(2);
const STREAMING_RECV_TIMEOUT: Duration = Duration::from_millis(500);

pub static SHOULD_CONNECT_TO_CLIENTS: Lazy<Arc<RelaxedAtomic>> =
Lazy::new(|| Arc::new(RelaxedAtomic::new(false)));
Expand Down

0 comments on commit eaeb351

Please sign in to comment.