changed: reduced default connection limit to 15
Reduced default connection limit to the pleroma database to 15. This parameter is now configurable.
This commit is contained in:
parent
b0ddbc30ad
commit
2cb1891456
2 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ pleroma_defaults:
|
|||
db:
|
||||
name: pleroma_db
|
||||
user: pleroma
|
||||
connLimit: 15
|
||||
postgresServer:
|
||||
pg_hba:
|
||||
- type: local
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
- name: Postgres -- Ensuring that the database {{ pleroma.config.db.name }} exists.
|
||||
become_user: postgres
|
||||
postgresql_db:
|
||||
conn_limit: "20"
|
||||
conn_limit: "{{ pleroma.config.db.connLimit }}"
|
||||
encoding: UTF-8
|
||||
login_unix_socket: "{{ pleroma_postgres_unix_socket_dir }}"
|
||||
name: "{{ pleroma.config.db.name }}"
|
||||
|
|
Reference in a new issue