Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP6
chrony.32986
chrony-burst_total_samples_to_go.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chrony-burst_total_samples_to_go.patch of Package chrony.32986
From 6270a3eb7cf8e35673cb19ea8e12bd6c8b15ede2 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar <mlichvar@redhat.com> Date: Mon, 27 Feb 2023 15:00:50 +0100 Subject: [PATCH] ntp: don't adjust poll interval when waiting for NTS-KE Don't adjust the NTP polling interval and decrement the burst count when NAU_PrepareRequestAuth() fails (e.g. no NTS-KE response received yet, network being down, or the server refusing connections), same as if an NTP request could not be sent. Rely on the rate limiting implemented in the NTS code. --- ntp_core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ntp_core.c b/ntp_core.c index 1d39dedd..3f7bbd31 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -1309,9 +1309,6 @@ transmit_timeout(void *arg) /* Prepare authentication */ if (!NAU_PrepareRequestAuth(inst->auth)) { - if (inst->burst_total_samples_to_go > 0) - inst->burst_total_samples_to_go--; - adjust_poll(inst, 0.25); SRC_UpdateReachability(inst->source, 0); restart_timeout(inst, get_transmit_delay(inst, 1, 0.0)); return; -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor