mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-01 17:00:21 +08:00
tune(tunnel): 放宽 ping 间隔和超时参数, 增大出站队列容量
- gateway ping 间隔 500ms -> 15s, 出站队列 128 -> 512 - proxy ping 间隔 1s -> 10s, 连接超时 1.5s -> 3s, stale 超时 5s -> 30s
This commit is contained in:
@@ -55,9 +55,9 @@ pub const DEFAULT_LOG_RETENTION_DAYS: u64 = 7;
|
||||
pub const DEFAULT_LOG_MAX_FILES: usize = 30;
|
||||
pub const DEFAULT_TUNNEL_RECONNECT_BASE_MS: u64 = 50;
|
||||
pub const DEFAULT_TUNNEL_RECONNECT_MAX_MS: u64 = 250;
|
||||
pub const DEFAULT_TUNNEL_PING_INTERVAL_MS: u64 = 1_000;
|
||||
pub const DEFAULT_TUNNEL_CONNECT_TIMEOUT_MS: u64 = 1_500;
|
||||
pub const DEFAULT_TUNNEL_STALE_TIMEOUT_MS: u64 = 5_000;
|
||||
pub const DEFAULT_TUNNEL_PING_INTERVAL_MS: u64 = 10_000;
|
||||
pub const DEFAULT_TUNNEL_CONNECT_TIMEOUT_MS: u64 = 3_000;
|
||||
pub const DEFAULT_TUNNEL_STALE_TIMEOUT_MS: u64 = 30_000;
|
||||
pub const DEFAULT_TUNNEL_SCALE_CHECK_INTERVAL_MS: u64 = 1_000;
|
||||
pub const DEFAULT_TUNNEL_SCALE_UP_THRESHOLD_PERCENT: u32 = 70;
|
||||
pub const DEFAULT_TUNNEL_SCALE_DOWN_THRESHOLD_PERCENT: u32 = 35;
|
||||
|
||||
Reference in New Issue
Block a user