diff options
author | Trolli Schmittlauch <t.schmittlauch+nixos@orlives.de> | 2023-11-28 00:49:16 +0100 |
---|---|---|
committer | Trolli Schmittlauch <t.schmittlauch+nixos@orlives.de> | 2023-12-04 02:18:39 +0100 |
commit | cbf69c83d3b2bdc5eca341aa9e44e0406794af81 (patch) | |
tree | 4c9d24e0e136c0e2b731cd3c0330b24f56ed778b /nixos | |
parent | 60508802527176bd2489b25c4fd963bc36db71e3 (diff) | |
download | nixlib-cbf69c83d3b2bdc5eca341aa9e44e0406794af81.tar nixlib-cbf69c83d3b2bdc5eca341aa9e44e0406794af81.tar.gz nixlib-cbf69c83d3b2bdc5eca341aa9e44e0406794af81.tar.bz2 nixlib-cbf69c83d3b2bdc5eca341aa9e44e0406794af81.tar.lz nixlib-cbf69c83d3b2bdc5eca341aa9e44e0406794af81.tar.xz nixlib-cbf69c83d3b2bdc5eca341aa9e44e0406794af81.tar.zst nixlib-cbf69c83d3b2bdc5eca341aa9e44e0406794af81.zip |
nixos/mastodon: clarify the need to set streamingProcesses
Explicitly declaring that option is now necessary, but wasn't in the module shipped with 23.05.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2311.section.md | 4 | ||||
-rw-r--r-- | nixos/modules/services/web-apps/mastodon.nix | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md index fb663b7894d8..e5c66232533c 100644 --- a/nixos/doc/manual/release-notes/rl-2311.section.md +++ b/nixos/doc/manual/release-notes/rl-2311.section.md @@ -71,7 +71,9 @@ Make sure to also check the many updates in the [Nixpkgs library](#sec-release-2 - `services.mastodon` doesn't support providing a TCP port to its `streaming` component anymore, as upstream implemented parallelization by running multiple instances instead of running multiple processes in one instance. - Please create a PR if you are interested in this feature. + Please create a PR if you are interested in this feature.\ + Due to this, the desired number of such instances + {option}`services.mastodon.streamingProcesses` now needs to be declared explicitly. - The `services.hostapd` module was rewritten to support `passwordFile` like options, WPA3-SAE, and management of multiple interfaces. This breaks diff --git a/nixos/modules/services/web-apps/mastodon.nix b/nixos/modules/services/web-apps/mastodon.nix index 8686506b1c28..7b00ce35eb1a 100644 --- a/nixos/modules/services/web-apps/mastodon.nix +++ b/nixos/modules/services/web-apps/mastodon.nix @@ -229,7 +229,7 @@ in { streamingProcesses = lib.mkOption { description = lib.mdDoc '' Number of processes used by the mastodon-streaming service. - Recommended is the amount of your CPU cores minus one. + Please define this explicitly, recommended is the amount of your CPU cores minus one. ''; type = lib.types.ints.positive; example = 3; |