Enable jit on postgres for pendulum
This commit is contained in:
parent
7df5311859
commit
aaf29bcfca
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
path = with pkgs; [ jq postgresql_15 matrix-synapse-tools.synadm ];
|
||||
path = with pkgs; [ jq postgresql_15_jit matrix-synapse-tools.synadm ];
|
||||
environment = {
|
||||
HOME = "/home/nathan";
|
||||
XDG_CONFIG_DIRS =
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
system.stateVersion = "23.05";
|
||||
# Postgres version and tuning
|
||||
services.postgresql = {
|
||||
package = pkgs.postgresql_15;
|
||||
package = pkgs.postgresql_15_jit;
|
||||
settings = {
|
||||
shared_buffers = "4GB";
|
||||
effective_cache_size = "8GB";
|
||||
|
|
Loading…
Reference in New Issue