Add streaming-processes option
This commit is contained in:
parent
735dfab194
commit
01c6703a67
|
@ -36,6 +36,13 @@ in {
|
||||||
default = [ ];
|
default = [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
streaming-processes = mkOption {
|
||||||
|
type = int;
|
||||||
|
description =
|
||||||
|
"Number of processes to use for Mastodon streaming. Recommended is (#cores - 1).";
|
||||||
|
default = 4;
|
||||||
|
};
|
||||||
|
|
||||||
smtp = {
|
smtp = {
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
|
@ -105,6 +112,7 @@ in {
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
configureNginx = true;
|
configureNginx = true;
|
||||||
automaticMigrations = true;
|
automaticMigrations = true;
|
||||||
|
streamingProcesses = cfg.streaming-processes;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue