about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2020-04-21 18:29:03 +0200
committerNiklas Hambüchen <mail@nh2.me>2020-04-21 18:29:03 +0200
commitd16d34732cf132c0ed53f604f323725b7f806bfd (patch)
tree85960d685dbe00f56fce4a6b47cae65b94c6ccce /nixos
parent523fe988217eaa56952c2a87760fef612c857bee (diff)
downloadnixlib-d16d34732cf132c0ed53f604f323725b7f806bfd.tar
nixlib-d16d34732cf132c0ed53f604f323725b7f806bfd.tar.gz
nixlib-d16d34732cf132c0ed53f604f323725b7f806bfd.tar.bz2
nixlib-d16d34732cf132c0ed53f604f323725b7f806bfd.tar.lz
nixlib-d16d34732cf132c0ed53f604f323725b7f806bfd.tar.xz
nixlib-d16d34732cf132c0ed53f604f323725b7f806bfd.tar.zst
nixlib-d16d34732cf132c0ed53f604f323725b7f806bfd.zip
journald service: Increase default rate limit 1000 -> 10000.
Follows the upstream change of this default:

https://github.com/systemd/systemd/pull/8660
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/release-notes/rl-2009.xml6
-rw-r--r--nixos/modules/system/boot/systemd.nix2
2 files changed, 7 insertions, 1 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml
index 0f22f4331f4d..21da575cad30 100644
--- a/nixos/doc/manual/release-notes/rl-2009.xml
+++ b/nixos/doc/manual/release-notes/rl-2009.xml
@@ -269,6 +269,12 @@ environment.systemPackages = [
   <itemizedlist>
    <listitem>
     <para>
+     <option>services.journald.rateLimitBurst</option> was updated from
+     <literal>1000</literal> to <literal>10000</literal> to follow the new
+     upstream systemd default.
+    </para>
+   <listitem>
+    <para>
      The <package>notmuch</package> package move its emacs-related binaries and
      emacs lisp files to a separate output. They're not part
      of the default <literal>out</literal> output anymore - if you relied on the
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 518d875841bd..f955746f78a0 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -597,7 +597,7 @@ in
     };
 
     services.journald.rateLimitBurst = mkOption {
-      default = 1000;
+      default = 10000;
       type = types.int;
       description = ''
         Configures the rate limiting burst limit (number of messages per