Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timesync: make poll interval configurable #7268

Merged
merged 1 commit into from
Nov 8, 2017

Conversation

yuwata
Copy link
Member

@yuwata yuwata commented Nov 7, 2017

This adds PollIntervalMinSec= and PollIntervalMaxSec= to timesyncd.conf

Closes #7262.

I proposed this in #7215. But at that time no one requests these options, then I dropped them. After that, in #7262 @conqp requests max and min poll intervals configurable. So, I resubmit this.

Note that the relevant options exist in both chrony.conf and ntp.conf (minpoll and maxpoll).

Copy link
Member

@poettering poettering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, but one nit on the documentation

@@ -103,10 +103,20 @@

<varlistentry>
<term><varname>RootDistanceMaxSec=</varname></term>
<listitem><para>Maximum acceptable root distance in seconds.
<listitem><para>Maximum acceptable root distance. Takes time (in seconds).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "Takes a time value (in seconds)"?

<term><varname>PollIntervalMinSec=</varname></term>
<term><varname>PollIntervalMaxSec=</varname></term>
<listitem><para>The minimum and maximum poll intervals for NTP messages.
Take time (in seconds). <varname>PollIntervalMinSec=</varname> must not be smaller than 16 seconds.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as above

@poettering poettering added the reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks label Nov 7, 2017
This adds PollIntervalMinSec= and PollIntervalMaxSec= to timesyncd.conf

Closes systemd#7262.
@yuwata
Copy link
Member Author

yuwata commented Nov 7, 2017

@poettering Thanks. Updated.

@yuwata yuwata removed the reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks label Nov 7, 2017
@poettering
Copy link
Member

lgtm. thanks!

@poettering poettering added the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Nov 7, 2017
@poettering poettering merged commit f900788 into systemd:master Nov 8, 2017
@yuwata yuwata deleted the rfe-7262 branch November 12, 2017 05:33
@yuwata yuwata mentioned this pull request Mar 29, 2018
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed timesync
Development

Successfully merging this pull request may close these issues.

2 participants