summaryrefslogtreecommitdiffstats
path: root/man/systemd-system.conf.xml
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-12-12 23:10:18 +0100
committerLuca Boccassi <bluca@debian.org>2022-12-13 19:13:10 +0100
commit856bfaeb054729b92992bc392aca2dbcc62e4a8e (patch)
tree54a8f1305454e22bc82afb685d44df2ac05155f9 /man/systemd-system.conf.xml
parentmanager: log unit/pid of sender when Reload() is called (diff)
downloadsystemd-856bfaeb054729b92992bc392aca2dbcc62e4a8e.tar.xz
systemd-856bfaeb054729b92992bc392aca2dbcc62e4a8e.zip
manager: add option to rate limit daemon-reload
Reloading is a heavy-weight operation, and currently it is not possible to stop an orchestrator from spamming reload requests. Add configuration options to allow rate-limiting.
Diffstat (limited to 'man/systemd-system.conf.xml')
-rw-r--r--man/systemd-system.conf.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml
index ac21c31d9a..6406df13ae 100644
--- a/man/systemd-system.conf.xml
+++ b/man/systemd-system.conf.xml
@@ -550,6 +550,16 @@
<para>If the value is <literal>/</literal>, only labels specified with <varname>SmackProcessLabel=</varname>
are assigned and the compile-time default is ignored.</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><varname>ReloadLimitIntervalSec=</varname></term>
+ <term><varname>ReloadLimitBurst=</varname></term>
+
+ <listitem><para>Rate limiting for daemon-reload requests. Default to unset, and any number of daemon-reload
+ operations can be requested at any time. <varname>ReloadLimitIntervalSec=</varname> takes a value in seconds
+ to configure the rate limit window, and <varname>ReloadLimitBurst=</varname> takes a positive integer to
+ configure the maximum allowed number of reloads within the configured time window.</para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>