Where should the number of cores come from? #28
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mastodon wants to know the number of cores to set the number of streaming processes. For now, I have just wired an option under
fediversity.temp
.# from the documentation: recommended is the amount of your CPU cores minus
# one. but it also must be a positive integer
streamingProcesses = lib.max 1 (config.fediversity.temp.cores - 1);
cores = mkOption {
description = "number of cores; should be obtained from NixOps4";
type = types.int;
};
However, who is supposed to fill this option? I expect it might be coming from NixOps4; @roberth> WDYT?