summaryrefslogtreecommitdiffstats
path: root/man/timesyncd.conf.xml
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2020-12-10 19:54:19 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-12-15 00:52:51 +0100
commite81a44bf5faa80ec6ca2ef835d559a65c7e27c35 (patch)
treea3e5c744f9ec755da8ef866abef291025b912dc6 /man/timesyncd.conf.xml
parentMerge pull request #17960 from yuwata/network-log-routing-policy-rule (diff)
downloadsystemd-e81a44bf5faa80ec6ca2ef835d559a65c7e27c35.tar.xz
systemd-e81a44bf5faa80ec6ca2ef835d559a65c7e27c35.zip
timesync: Make delaying attempts to contact servers configurable
``` ❯ ssh sus@xx.xx.xx.xx Last login: Sat Nov 14 17:32:08 2020 from 10.104.45.138 17:36:19 up 0 min, 0 users, load average: 0.00, 0.00, 0.00 > systemd-analyze blame Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0). Please try again later. Hint: Use 'systemctl list-jobs' to see active jobs > systemd-analyze blame 43.954s systemd-time-wait-sync.service 1.969s systemd-networkd-wait-online.service 1.559s cloud-init-local.service 1.039s cloud-init.service 414ms cloud-final.service 387ms dracut-initqueue.service 382ms initrd-switch-root.service 380ms cloud-config.service 198ms systemd-journal-flush.service 136ms systemd-udev-trigger.service 115ms initrd-parse-etc.service 97ms systemd-timesyncd.service 84ms systemd-journald.service ``` After made it configurable and set to 5s ``` ❯ ssh sus@xx.xx.xx.xx Last login: Sat Nov 14 18:41:42 2020 from 10.104.45.138 18:42:36 up 0 min, 0 users, load average: 0.16, 0.03, 0.01 > systemd-analyze blame 10.450s systemd-time-wait-sync.service 8.303s systemd-networkd-wait-online.service 1.621s cloud-init-local.service 1.068s cloud-init.service ```
Diffstat (limited to 'man/timesyncd.conf.xml')
-rw-r--r--man/timesyncd.conf.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/timesyncd.conf.xml b/man/timesyncd.conf.xml
index 1cbea9eaa5..da2b320a43 100644
--- a/man/timesyncd.conf.xml
+++ b/man/timesyncd.conf.xml
@@ -91,6 +91,12 @@
<varname>PollIntervalMaxSec=</varname> defaults to 2048 seconds.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><varname>ConnectionRetrySec=</varname></term>
+ <listitem><para>Specifies the delaying attempts to contact servers after network is online. Takes a time value (in seconds).
+ Defaults to 30 seconds and must not be smaller than 1 seconds.</para></listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>