Merge pull request #270522 from schmittlauch/mastodon-streaming-processes-number-docs

Proposal: nixos/mastodon; Releasenotes and (possibly) better error messages for `streamingProcesses`

authored by Kerstin and committed by GitHub ba513b29 a7013eda

+4 -2
+3 -1
nixos/doc/manual/release-notes/rl-2311.section.md
··· 71 - `services.mastodon` doesn't support providing a TCP port to its `streaming` 72 component anymore, as upstream implemented parallelization by running 73 multiple instances instead of running multiple processes in one instance. 74 - Please create a PR if you are interested in this feature. 75 76 - The `services.hostapd` module was rewritten to support `passwordFile` like 77 options, WPA3-SAE, and management of multiple interfaces. This breaks
··· 71 - `services.mastodon` doesn't support providing a TCP port to its `streaming` 72 component anymore, as upstream implemented parallelization by running 73 multiple instances instead of running multiple processes in one instance. 74 + Please create a PR if you are interested in this feature.\ 75 + Due to this, the desired number of such instances 76 + {option}`services.mastodon.streamingProcesses` now needs to be declared explicitly. 77 78 - The `services.hostapd` module was rewritten to support `passwordFile` like 79 options, WPA3-SAE, and management of multiple interfaces. This breaks
+1 -1
nixos/modules/services/web-apps/mastodon.nix
··· 229 streamingProcesses = lib.mkOption { 230 description = lib.mdDoc '' 231 Number of processes used by the mastodon-streaming service. 232 - Recommended is the amount of your CPU cores minus one. 233 ''; 234 type = lib.types.ints.positive; 235 example = 3;
··· 229 streamingProcesses = lib.mkOption { 230 description = lib.mdDoc '' 231 Number of processes used by the mastodon-streaming service. 232 + Please define this explicitly, recommended is the amount of your CPU cores minus one. 233 ''; 234 type = lib.types.ints.positive; 235 example = 3;