From 2c57e51ec528014bb6169ccb457722cb3bedbce5 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sun, 22 Jun 2025 15:03:13 +0900 Subject: [PATCH] higher default bandwidth --- src/relay_server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/relay_server.rs b/src/relay_server.rs index bc379f4..c0f910e 100644 --- a/src/relay_server.rs +++ b/src/relay_server.rs @@ -39,9 +39,9 @@ lazy_static::lazy_static! { static DOWNGRADE_THRESHOLD_100: AtomicUsize = AtomicUsize::new(66); // 0.66 static DOWNGRADE_START_CHECK: AtomicUsize = AtomicUsize::new(1_800_000); // in ms -static LIMIT_SPEED: AtomicUsize = AtomicUsize::new(4 * 1024 * 1024); // in bit/s +static LIMIT_SPEED: AtomicUsize = AtomicUsize::new(32 * 1024 * 1024); // in bit/s static TOTAL_BANDWIDTH: AtomicUsize = AtomicUsize::new(1024 * 1024 * 1024); // in bit/s -static SINGLE_BANDWIDTH: AtomicUsize = AtomicUsize::new(16 * 1024 * 1024); // in bit/s +static SINGLE_BANDWIDTH: AtomicUsize = AtomicUsize::new(128 * 1024 * 1024); // in bit/s const BLACKLIST_FILE: &str = "blacklist.txt"; const BLOCKLIST_FILE: &str = "blocklist.txt";