nixos/mastodon: preload libjemalloc.so

Co-authored-by: Izorkin <izorkin@elven.pw>
main
Kerstin Humm 2 years ago committed by Kerstin
parent 513f7beb55
commit 23a1971a4e
  1. 2
      nixos/modules/services/web-apps/mastodon.nix

@ -9,6 +9,8 @@ let
RAILS_ENV = "production";
NODE_ENV = "production";
LD_PRELOAD = "${pkgs.jemalloc}/lib/libjemalloc.so";
# mastodon-web concurrency.
WEB_CONCURRENCY = toString cfg.webProcesses;
MAX_THREADS = toString cfg.webThreads;

Loading…
Cancel
Save