Enable jit on postgres for pendulum

This commit is contained in:
Nathan McCarty 2023-06-10 20:54:24 -04:00
parent 7df5311859
commit aaf29bcfca
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
path = with pkgs; [ jq postgresql_15 matrix-synapse-tools.synadm ]; path = with pkgs; [ jq postgresql_15_jit matrix-synapse-tools.synadm ];
environment = { environment = {
HOME = "/home/nathan"; HOME = "/home/nathan";
XDG_CONFIG_DIRS = XDG_CONFIG_DIRS =

View File

@ -59,7 +59,7 @@
system.stateVersion = "23.05"; system.stateVersion = "23.05";
# Postgres version and tuning # Postgres version and tuning
services.postgresql = { services.postgresql = {
package = pkgs.postgresql_15; package = pkgs.postgresql_15_jit;
settings = { settings = {
shared_buffers = "4GB"; shared_buffers = "4GB";
effective_cache_size = "8GB"; effective_cache_size = "8GB";