Add options max_connections and shared_buffers
This commit is contained in:
parent
be64c4523d
commit
18befd9978
2 changed files with 4 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ listen_addresses = '{{ postgresql.listen_addresses }}' # what IP address(es) to
|
|||
# defaults to 'localhost'; use '*' for all
|
||||
# (change requires restart)
|
||||
port = 5432 # (change requires restart)
|
||||
max_connections = 100 # (change requires restart)
|
||||
max_connections = {{ postgresql.max_connections }} # (change requires restart)
|
||||
#superuser_reserved_connections = 3 # (change requires restart)
|
||||
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
|
||||
# (change requires restart)
|
||||
|
|
@ -119,7 +119,7 @@ ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key'
|
|||
|
||||
# - Memory -
|
||||
|
||||
shared_buffers = 128MB # min 128kB
|
||||
shared_buffers = {{ postgresql.shared_buffers }} # min 128kB
|
||||
# (change requires restart)
|
||||
#huge_pages = try # on, off, or try
|
||||
# (change requires restart)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue