This commit is contained in:
richvdh 2021-08-02 13:25:09 +00:00
parent 9f273f34d4
commit 5a1a70000a
5 changed files with 14 additions and 2 deletions

View file

@ -3590,6 +3590,9 @@ caches:
# 'name' gives the database engine to use: either 'sqlite3' (for SQLite) or # 'name' gives the database engine to use: either 'sqlite3' (for SQLite) or
# 'psycopg2' (for PostgreSQL). # 'psycopg2' (for PostgreSQL).
# #
# 'txn_limit' gives the maximum number of transactions to run per connection
# before reconnecting. Defaults to 0, which means no limit.
#
# 'args' gives options which are passed through to the database engine, # 'args' gives options which are passed through to the database engine,
# except for options starting 'cp_', which are used to configure the Twisted # except for options starting 'cp_', which are used to configure the Twisted
# connection pool. For a reference to valid arguments, see: # connection pool. For a reference to valid arguments, see:
@ -3610,6 +3613,7 @@ caches:
# #
#database: #database:
# name: psycopg2 # name: psycopg2
# txn_limit: 10000
# args: # args:
# user: synapse_user # user: synapse_user
# password: secretpassword # password: secretpassword

View file

@ -720,6 +720,9 @@ caches:
# 'name' gives the database engine to use: either 'sqlite3' (for SQLite) or # 'name' gives the database engine to use: either 'sqlite3' (for SQLite) or
# 'psycopg2' (for PostgreSQL). # 'psycopg2' (for PostgreSQL).
# #
# 'txn_limit' gives the maximum number of transactions to run per connection
# before reconnecting. Defaults to 0, which means no limit.
#
# 'args' gives options which are passed through to the database engine, # 'args' gives options which are passed through to the database engine,
# except for options starting 'cp_', which are used to configure the Twisted # except for options starting 'cp_', which are used to configure the Twisted
# connection pool. For a reference to valid arguments, see: # connection pool. For a reference to valid arguments, see:
@ -740,6 +743,7 @@ caches:
# #
#database: #database:
# name: psycopg2 # name: psycopg2
# txn_limit: 10000
# args: # args:
# user: synapse_user # user: synapse_user
# password: secretpassword # password: secretpassword

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -912,6 +912,9 @@ caches:
# 'name' gives the database engine to use: either 'sqlite3' (for SQLite) or # 'name' gives the database engine to use: either 'sqlite3' (for SQLite) or
# 'psycopg2' (for PostgreSQL). # 'psycopg2' (for PostgreSQL).
# #
# 'txn_limit' gives the maximum number of transactions to run per connection
# before reconnecting. Defaults to 0, which means no limit.
#
# 'args' gives options which are passed through to the database engine, # 'args' gives options which are passed through to the database engine,
# except for options starting 'cp_', which are used to configure the Twisted # except for options starting 'cp_', which are used to configure the Twisted
# connection pool. For a reference to valid arguments, see: # connection pool. For a reference to valid arguments, see:
@ -932,6 +935,7 @@ caches:
# #
#database: #database:
# name: psycopg2 # name: psycopg2
# txn_limit: 10000
# args: # args:
# user: synapse_user # user: synapse_user
# password: secretpassword # password: secretpassword