Enable jit on postgres for pendulum
This commit is contained in:
parent
7df5311859
commit
aaf29bcfca
|
@ -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 =
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue