1465d3dca3
* Set hasura max connections with pg to 100 * set nginx worker_connections from 4k to 10k * Update bbb-graphql-server/metadata/databases/databases.yaml * remove deprecated config * set pg max connections up to 300 --------- Co-authored-by: Tiago Jacobs <tiago.jacobs@gmail.com>
26 lines
754 B
YAML
26 lines
754 B
YAML
- name: default
|
|
kind: postgres
|
|
configuration:
|
|
connection_info:
|
|
database_url:
|
|
from_env: HASURA_GRAPHQL_DATABASE_URL
|
|
isolation_level: read-committed
|
|
pool_settings:
|
|
connection_lifetime: 600
|
|
idle_timeout: 180
|
|
max_connections: 50
|
|
retries: 1
|
|
use_prepared_statements: true
|
|
tables: "!include default/tables/tables.yaml"
|
|
- name: BigBlueButton
|
|
kind: postgres
|
|
configuration:
|
|
connection_info:
|
|
database_url: postgres://postgres:bbb_graphql@127.0.0.1:5432/bbb_graphql
|
|
isolation_level: read-committed
|
|
pool_settings:
|
|
connection_lifetime: 3600
|
|
max_connections: 100
|
|
use_prepared_statements: true
|
|
tables: "!include BigBlueButton/tables/tables.yaml"
|