hydra: increase Postgresql cache size
This commit is contained in:
parent
9ce6118b83
commit
cc56a165fe
1 changed files with 8 additions and 0 deletions
|
@ -105,6 +105,14 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.postgresql = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
shared_buffers = 4GB
|
||||||
|
effective_cache_size = 4GB
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
distributedBuilds = true;
|
distributedBuilds = true;
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue