diff options
author | Kerstin <kerstin@erictapen.name> | 2023-12-04 16:04:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 16:04:27 +0100 |
commit | ba513b2979466bfe37f78a449f9380409d51ebf2 (patch) | |
tree | dab068b39bd3fa155bf13a2f347f6593935225ef /nixos | |
parent | a7013edac9066efabc1fc8e4e5c34bd54cd57440 (diff) | |
parent | cbf69c83d3b2bdc5eca341aa9e44e0406794af81 (diff) | |
download | nixlib-ba513b2979466bfe37f78a449f9380409d51ebf2.tar nixlib-ba513b2979466bfe37f78a449f9380409d51ebf2.tar.gz nixlib-ba513b2979466bfe37f78a449f9380409d51ebf2.tar.bz2 nixlib-ba513b2979466bfe37f78a449f9380409d51ebf2.tar.lz nixlib-ba513b2979466bfe37f78a449f9380409d51ebf2.tar.xz nixlib-ba513b2979466bfe37f78a449f9380409d51ebf2.tar.zst nixlib-ba513b2979466bfe37f78a449f9380409d51ebf2.zip |
Merge pull request #270522 from schmittlauch/mastodon-streaming-processes-number-docs
Proposal: nixos/mastodon; Releasenotes and (possibly) better error messages for `streamingProcesses`
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 760c58d5050e..e693067561a4 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; |