ntp: change minimum allowed poll to -7
Change the minimum poll allowed in configuration from -6 to -7. This matches some PTP profiles using 128 sync messages per second.
This commit is contained in:
parent
4234732b08
commit
685d8f725b
2 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ server, or its IP address. It supports the following options:
|
||||||
This option specifies the minimum interval between requests sent to the server
|
This option specifies the minimum interval between requests sent to the server
|
||||||
as a power of 2 in seconds. For example, *minpoll 5* would mean that the
|
as a power of 2 in seconds. For example, *minpoll 5* would mean that the
|
||||||
polling interval should not drop below 32 seconds. The default is 6 (64
|
polling interval should not drop below 32 seconds. The default is 6 (64
|
||||||
seconds), the minimum is -6 (1/64th of a second), and the maximum is 24 (6
|
seconds), the minimum is -7 (1/128th of a second), and the maximum is 24 (6
|
||||||
months). Note that intervals shorter than 6 (64 seconds) should generally not
|
months). Note that intervals shorter than 6 (64 seconds) should generally not
|
||||||
be used with public servers on the Internet, because it might be considered
|
be used with public servers on the Internet, because it might be considered
|
||||||
abuse. A sub-second interval will be enabled only when the server is reachable
|
abuse. A sub-second interval will be enabled only when the server is reachable
|
||||||
|
@ -82,7 +82,7 @@ should be in a local network.
|
||||||
This option specifies the maximum interval between requests sent to the server
|
This option specifies the maximum interval between requests sent to the server
|
||||||
as a power of 2 in seconds. For example, *maxpoll 9* indicates that the polling
|
as a power of 2 in seconds. For example, *maxpoll 9* indicates that the polling
|
||||||
interval should stay at or below 9 (512 seconds). The default is 10 (1024
|
interval should stay at or below 9 (512 seconds). The default is 10 (1024
|
||||||
seconds), the minimum is -6 (1/64th of a second), and the maximum is 24 (6
|
seconds), the minimum is -7 (1/128th of a second), and the maximum is 24 (6
|
||||||
months).
|
months).
|
||||||
*iburst*:::
|
*iburst*:::
|
||||||
With this option, *chronyd* will start with a burst of 4-8 requests in order to
|
With this option, *chronyd* will start with a burst of 4-8 requests in order to
|
||||||
|
|
|
@ -267,7 +267,7 @@ static ARR_Instance broadcasts;
|
||||||
#define MAX_MAXDELAYDEVRATIO 1.0e6
|
#define MAX_MAXDELAYDEVRATIO 1.0e6
|
||||||
|
|
||||||
/* Minimum and maximum allowed poll interval */
|
/* Minimum and maximum allowed poll interval */
|
||||||
#define MIN_POLL -6
|
#define MIN_POLL -7
|
||||||
#define MAX_POLL 24
|
#define MAX_POLL 24
|
||||||
|
|
||||||
/* Enable sub-second polling intervals only when the peer delay is not
|
/* Enable sub-second polling intervals only when the peer delay is not
|
||||||
|
|
Loading…
Reference in a new issue