mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 00:35:07 -05:00
ntp: add burst option
When the burst option is specified in the server/pool directive and the current poll is longer than the minimum poll, initiate on each poll a burst with 1 good sample and 2 or 4 total samples according to the difference between the current and minimum poll.
This commit is contained in:
1
client.c
1
client.c
@@ -1109,6 +1109,7 @@ process_cmd_add_server_or_peer(CMD_Request *msg, char *line)
|
||||
(data.params.auto_offline ? REQ_ADDSRC_AUTOOFFLINE : 0) |
|
||||
(data.params.iburst ? REQ_ADDSRC_IBURST : 0) |
|
||||
(data.params.interleaved ? REQ_ADDSRC_INTERLEAVED : 0) |
|
||||
(data.params.burst ? REQ_ADDSRC_BURST : 0) |
|
||||
(data.params.sel_options & SRC_SELECT_PREFER ? REQ_ADDSRC_PREFER : 0) |
|
||||
(data.params.sel_options & SRC_SELECT_NOSELECT ? REQ_ADDSRC_NOSELECT : 0) |
|
||||
(data.params.sel_options & SRC_SELECT_TRUST ? REQ_ADDSRC_TRUST : 0) |
|
||||
|
||||
Reference in New Issue
Block a user