mirror of https://github.com/zulip/zulip.git
puppet: Set postgres max_connections to 1000.
There isn't much legitimate reason to have a limit as low as 100, given how few resources a connection consumes.
This commit is contained in:
parent
4ac9778d69
commit
ca48b4ec9f
|
@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/<%= scope["zulip::base::postgres_versio
|
|||
# defaults to 'localhost'; use '*' for all
|
||||
# (change requires restart)
|
||||
port = 5432 # (change requires restart)
|
||||
max_connections = 100 # (change requires restart)
|
||||
max_connections = 1000 # (change requires restart)
|
||||
#superuser_reserved_connections = 3 # (change requires restart)
|
||||
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
|
||||
# (change requires restart)
|
||||
|
|
|
@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/<%= scope["zulip::base::postgres_versio
|
|||
# defaults to 'localhost', '*' = all
|
||||
# (change requires restart)
|
||||
port = 5432 # (change requires restart)
|
||||
# max_connections = 100 # (change requires restart)
|
||||
# max_connections = 1000 # (change requires restart)
|
||||
# Note: Increasing max_connections costs ~400 bytes of shared memory per
|
||||
# connection slot, plus lock space (see max_locks_per_transaction).
|
||||
#superuser_reserved_connections = 3 # (change requires restart)
|
||||
|
|
|
@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/<%= scope["zulip::base::postgres_versio
|
|||
# defaults to 'localhost'; use '*' for all
|
||||
# (change requires restart)
|
||||
port = 5432 # (change requires restart)
|
||||
max_connections = 100 # (change requires restart)
|
||||
max_connections = 1000 # (change requires restart)
|
||||
# Note: Increasing max_connections costs ~400 bytes of shared memory per
|
||||
# connection slot, plus lock space (see max_locks_per_transaction).
|
||||
#superuser_reserved_connections = 3 # (change requires restart)
|
||||
|
|
|
@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/<%= scope["zulip::base::postgres_versio
|
|||
# defaults to 'localhost'; use '*' for all
|
||||
# (change requires restart)
|
||||
port = 5432 # (change requires restart)
|
||||
max_connections = 100 # (change requires restart)
|
||||
max_connections = 1000 # (change requires restart)
|
||||
#superuser_reserved_connections = 3 # (change requires restart)
|
||||
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
|
||||
# (change requires restart)
|
||||
|
|
Loading…
Reference in New Issue