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

Proposal: nixos/mastodon; Releasenotes and (possibly) better error messages for `streamingProcesses`
This commit is contained in:
Kerstin 2023-12-04 16:04:27 +01:00 committed by GitHub
commit ba513b2979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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;