mastodon: bump sidekey max open files, bump threads
This commit is contained in:
parent
f058365c5b
commit
15a30d7a30
|
@ -117,15 +117,16 @@
|
||||||
enableBirdUITheme = true;
|
enableBirdUITheme = true;
|
||||||
configureNginx = true;
|
configureNginx = true;
|
||||||
elasticsearch.host = "127.0.0.1";
|
elasticsearch.host = "127.0.0.1";
|
||||||
ldap.enable = true;
|
|
||||||
streamingProcesses = config.microvm.vcpu - 1;
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
ALTERNATE_DOMAINS = lib.concatStringsSep "," config.services.nginx.virtualHosts.${config.services.mastodon.localDomain}.serverAliases;
|
ALTERNATE_DOMAINS = lib.concatStringsSep "," config.services.nginx.virtualHosts.${config.services.mastodon.localDomain}.serverAliases;
|
||||||
DEFAULT_LOCALE = "de";
|
DEFAULT_LOCALE = "de";
|
||||||
};
|
};
|
||||||
|
ldap.enable = true;
|
||||||
|
streamingProcesses = config.microvm.vcpu - 1;
|
||||||
localDomain = "c3d2.social";
|
localDomain = "c3d2.social";
|
||||||
otpSecretFile = config.sops.secrets."mastodon/otp-secret".path;
|
otpSecretFile = config.sops.secrets."mastodon/otp-secret".path;
|
||||||
secretKeyBaseFile = config.sops.secrets."mastodon/secret-key".path;
|
secretKeyBaseFile = config.sops.secrets."mastodon/secret-key".path;
|
||||||
|
sidekiqThreads = 40; # default 25 are just not doing it anymore, especially after issues
|
||||||
smtp = {
|
smtp = {
|
||||||
host = "mail.c3d2.de";
|
host = "mail.c3d2.de";
|
||||||
port = 587;
|
port = 587;
|
||||||
|
@ -201,6 +202,10 @@
|
||||||
mastodon-init-dirs.script = lib.mkAfter ''
|
mastodon-init-dirs.script = lib.mkAfter ''
|
||||||
cat ${config.sops.secrets."mastodon/env".path} >> /var/lib/mastodon/.secrets_env
|
cat ${config.sops.secrets."mastodon/env".path} >> /var/lib/mastodon/.secrets_env
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# sidekiq failed with:
|
||||||
|
# failed to connect: Too many open files @ rb_sysopen
|
||||||
|
mastodon-sidekiq-all.serviceConfig.LimitNOFILE = "1048576";
|
||||||
};
|
};
|
||||||
|
|
||||||
timers.fedifetcher = {
|
timers.fedifetcher = {
|
||||||
|
|
Loading…
Reference in New Issue