Skip to content

Commit 2c57e51

Browse files
committed
higher default bandwidth
1 parent 796a75a commit 2c57e51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/relay_server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ lazy_static::lazy_static! {
3939

4040
static DOWNGRADE_THRESHOLD_100: AtomicUsize = AtomicUsize::new(66); // 0.66
4141
static DOWNGRADE_START_CHECK: AtomicUsize = AtomicUsize::new(1_800_000); // in ms
42-
static LIMIT_SPEED: AtomicUsize = AtomicUsize::new(4 * 1024 * 1024); // in bit/s
42+
static LIMIT_SPEED: AtomicUsize = AtomicUsize::new(32 * 1024 * 1024); // in bit/s
4343
static TOTAL_BANDWIDTH: AtomicUsize = AtomicUsize::new(1024 * 1024 * 1024); // in bit/s
44-
static SINGLE_BANDWIDTH: AtomicUsize = AtomicUsize::new(16 * 1024 * 1024); // in bit/s
44+
static SINGLE_BANDWIDTH: AtomicUsize = AtomicUsize::new(128 * 1024 * 1024); // in bit/s
4545
const BLACKLIST_FILE: &str = "blacklist.txt";
4646
const BLOCKLIST_FILE: &str = "blocklist.txt";
4747

0 commit comments

Comments
 (0)