Merge branch 'main' into unix-socket

This commit is contained in:
Alexey
2026-02-15 02:48:24 +03:00
committed by GitHub
5 changed files with 540 additions and 3 deletions

View File

@@ -319,6 +319,9 @@ pub struct AccessConfig {
#[serde(default)]
pub user_data_quota: HashMap<String, u64>,
#[serde(default)]
pub user_max_unique_ips: HashMap<String, usize>,
#[serde(default = "default_replay_check_len")]
pub replay_check_len: usize,
@@ -341,6 +344,7 @@ impl Default for AccessConfig {
user_max_tcp_conns: HashMap::new(),
user_expirations: HashMap::new(),
user_data_quota: HashMap::new(),
user_max_unique_ips: HashMap::new(),
replay_check_len: default_replay_check_len(),
replay_window_secs: default_replay_window_secs(),
ignore_time_skew: false,