nixos/mastodon: preload libjemalloc.so

Co-authored-by: Izorkin <izorkin@elven.pw>
This commit is contained in:
Kerstin Humm 2022-03-26 17:35:32 +01:00 committed by Kerstin
parent 513f7beb55
commit 23a1971a4e

View file

@ -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;