mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 10:15:07 -05:00
conf: change default rate limiting parameters
Change the default NTP rate limiting leak to 2 (25%). Change the default command rate limiting interval to -4 (16 packets per second) and burst to 8, so the interval is the only difference between NTP and command rate limiting defaults.
This commit is contained in:
6
conf.c
6
conf.c
@@ -194,10 +194,10 @@ static char *pidfile;
|
||||
static int ntp_ratelimit_enabled = 0;
|
||||
static int ntp_ratelimit_interval = 3;
|
||||
static int ntp_ratelimit_burst = 8;
|
||||
static int ntp_ratelimit_leak = 3;
|
||||
static int ntp_ratelimit_leak = 2;
|
||||
static int cmd_ratelimit_enabled = 0;
|
||||
static int cmd_ratelimit_interval = 1;
|
||||
static int cmd_ratelimit_burst = 16;
|
||||
static int cmd_ratelimit_interval = -4;
|
||||
static int cmd_ratelimit_burst = 8;
|
||||
static int cmd_ratelimit_leak = 2;
|
||||
|
||||
/* Smoothing constants */
|
||||
|
||||
Reference in New Issue
Block a user