From 5a1a70000a559e3dc3bae11918099dcf4976e181 Mon Sep 17 00:00:00 2001 From: richvdh Date: Mon, 2 Aug 2021 13:25:09 +0000 Subject: deploy: ba5287f5e8be150551824493b3ad685dde00a543 --- develop/usage/configuration/homeserver_sample_config.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'develop/usage/configuration') 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 -- cgit 1.5.1