MyNixOS website logo
option

services.mastodon.sidekiqProcesses

How many Sidekiq processes should be used to handle background jobs, and which job classes they handle. Read the upstream documentation before configuring this!

Declarations
Type
attribute set of (submodule)
Default
{
  all = {
    jobClasses = [ ];
    threads = null;
  };
}
Example
{
  all = {
    jobClasses = [ ];
    threads = null;
  };
  default = {
    jobClasses = [
      "default"
    ];
    threads = 10;
  };
  ingress = {
    jobClasses = [
      "ingress"
    ];
    threads = 5;
  };
  push-pull = {
    jobClasses = [
      "push"
      "pull"
    ];
    threads = 5;
  };
}