diff options
author | richvdh <richvdh@users.noreply.github.com> | 2021-08-02 13:25:09 +0000 |
---|---|---|
committer | richvdh <richvdh@users.noreply.github.com> | 2021-08-02 13:25:09 +0000 |
commit | 5a1a70000a559e3dc3bae11918099dcf4976e181 (patch) | |
tree | 7397e0bf9db3e3a8f94f750b6558039a997f27bc /develop/usage | |
parent | deploy: c36c2777900284cf94e93e60e34c3b856bb31551 (diff) | |
download | synapse-5a1a70000a559e3dc3bae11918099dcf4976e181.tar.xz |
deploy: ba5287f5e8be150551824493b3ad685dde00a543
Diffstat (limited to 'develop/usage')
-rw-r--r-- | develop/usage/configuration/homeserver_sample_config.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/develop/usage/configuration/homeserver_sample_config.html b/develop/usage/configuration/homeserver_sample_config.html index 700fa3d379..4eea5f4a89 100644 --- a/develop/usage/configuration/homeserver_sample_config.html +++ b/develop/usage/configuration/homeserver_sample_config.html @@ -912,6 +912,9 @@ caches: # 'name' gives the database engine to use: either 'sqlite3' (for SQLite) or # '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, # except for options starting 'cp_', which are used to configure the Twisted # connection pool. For a reference to valid arguments, see: @@ -932,6 +935,7 @@ caches: # #database: # name: psycopg2 +# txn_limit: 10000 # args: # user: synapse_user # password: secretpassword |