mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 02:35:06 -05:00
ntp: enable auto burst with very short polling intervals
This fixes commit 5b75d4afef.
This commit is contained in:
@@ -1144,7 +1144,7 @@ transmit_timeout(void *arg)
|
|||||||
/* Start a new burst if the burst option is enabled and the average
|
/* Start a new burst if the burst option is enabled and the average
|
||||||
polling interval including the burst will not fall below the
|
polling interval including the burst will not fall below the
|
||||||
minimum polling interval */
|
minimum polling interval */
|
||||||
if (inst->auto_burst && inst->local_poll > inst->minpoll && inst->local_poll > 1)
|
if (inst->auto_burst && inst->local_poll > inst->minpoll)
|
||||||
NCR_InitiateSampleBurst(inst, BURST_GOOD_SAMPLES,
|
NCR_InitiateSampleBurst(inst, BURST_GOOD_SAMPLES,
|
||||||
MIN(1 << (inst->local_poll - inst->minpoll),
|
MIN(1 << (inst->local_poll - inst->minpoll),
|
||||||
MAX_BURST_TOTAL_SAMPLES));
|
MAX_BURST_TOTAL_SAMPLES));
|
||||||
|
|||||||
Reference in New Issue
Block a user