Skip to content
Snippets Groups Projects
Verified Commit 481033af authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Update synapse to 1.40.0

parent b53b8eaf
No related branches found
No related tags found
No related merge requests found
Pipeline #10316 passed
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
postgres_work_mem: 64MB postgres_work_mem: 64MB
postgres_maintenance_work_mem: 256MB postgres_maintenance_work_mem: 256MB
postgres_effective_cache_size: 4GB postgres_effective_cache_size: 4GB
postgres_jit: 'off'
- { role: postfix_null } - { role: postfix_null }
- { role: matrix } - { role: matrix }
- { role: fail2ban } - { role: fail2ban }
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
- name: install synapse - name: install synapse
pip: pip:
name: name:
- 'matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.39.0' - 'matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.40.0'
state: latest state: latest
extra_args: '--upgrade-strategy=eager' extra_args: '--upgrade-strategy=eager'
virtualenv: /var/lib/synapse/venv virtualenv: /var/lib/synapse/venv
......
...@@ -731,6 +731,9 @@ caches: ...@@ -731,6 +731,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:
...@@ -751,6 +754,7 @@ caches: ...@@ -751,6 +754,7 @@ caches:
# #
#database: #database:
# name: psycopg2 # name: psycopg2
# txn_limit: 10000
# args: # args:
# user: synapse_user # user: synapse_user
# password: secretpassword # password: secretpassword
...@@ -765,6 +769,7 @@ caches: ...@@ -765,6 +769,7 @@ caches:
# #
database: database:
name: psycopg2 name: psycopg2
txn_limit: 10000
args: args:
dbname: synapse dbname: synapse
user: synapse user: synapse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment