mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 19:18:20 +00:00
nixos/mastodon: preload libjemalloc.so
Co-authored-by: Izorkin <izorkin@elven.pw>
This commit is contained in:
parent
513f7beb55
commit
23a1971a4e
@ -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…
Reference in New Issue
Block a user