]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: avoid unnecessary restart of resolving round on refresh
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 14 Mar 2024 14:37:15 +0000 (15:37 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 14 Mar 2024 15:39:41 +0000 (16:39 +0100)
commit863866354d058554e691959870770a8a07350431
tree195c0ea0bb13d56bef47a320f215c1f3b854f54e
parent6e5513c80bc0e962e8c0bb4b9af9b4b79e194971
ntp: avoid unnecessary restart of resolving round on refresh

Don't call NSR_ResolveSources() when a resolving round is already
started. This cuts the number of calls of the system resolver made due
to the refresh command to half.
ntp_sources.c