diff options
author | Integral <[email protected]> | 2024-12-07 17:54:53 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-07 17:54:53 +0800 |
commit | 772db7422f679db1fa06be1097cd676a73055851 (patch) | |
tree | d2247269277b27b20f34372d93eb1a778e95721b /src/rendezvous_server.rs | |
parent | 2f246537df8dff36a2facc60bfdd429ed065272c (diff) | |
download | rustdesk-server-772db7422f679db1fa06be1097cd676a73055851.tar.gz rustdesk-server-772db7422f679db1fa06be1097cd676a73055851.zip |
Diffstat (limited to 'src/rendezvous_server.rs')
-rw-r--r-- | src/rendezvous_server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rendezvous_server.rs b/src/rendezvous_server.rs index 9394731..65c8022 100644 --- a/src/rendezvous_server.rs +++ b/src/rendezvous_server.rs @@ -58,7 +58,7 @@ type Sender = mpsc::UnboundedSender<Data>; type Receiver = mpsc::UnboundedReceiver<Data>; static ROTATION_RELAY_SERVER: AtomicUsize = AtomicUsize::new(0); type RelayServers = Vec<String>; -static CHECK_RELAY_TIMEOUT: u64 = 3_000; +const CHECK_RELAY_TIMEOUT: u64 = 3_000; static ALWAYS_USE_RELAY: AtomicBool = AtomicBool::new(false); #[derive(Clone)] |