summary refs log tree commit diff
path: root/synapse/util/state_compressor.py
diff options
context:
space:
mode:
authorAzrenbeth <7782548+Azrenbeth@users.noreply.github.com>2021-09-27 13:05:29 +0100
committerAzrenbeth <7782548+Azrenbeth@users.noreply.github.com>2021-09-27 13:05:29 +0100
commit7d49d86b60674c925c932b3a3f16c7b4c8226978 (patch)
tree43c7a9a65fd8251a938dbfe3a7357448cbd658d3 /synapse/util/state_compressor.py
parentUse the effective connection params when connecting to postgres (diff)
downloadsynapse-7d49d86b60674c925c932b3a3f16c7b4c8226978.tar.xz
Remove accidental s at end of hs.config.worker
Diffstat (limited to 'synapse/util/state_compressor.py')
-rw-r--r--synapse/util/state_compressor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/state_compressor.py b/synapse/util/state_compressor.py

index f28c638a7a..93236733f7 100644 --- a/synapse/util/state_compressor.py +++ b/synapse/util/state_compressor.py
@@ -48,7 +48,7 @@ def setup_state_compressor(hs: "HomeServer"): """Schedules the state compressor to run regularly""" # Return if cannot import auto_compressor - if not state_compressor or not hs.config.workers.run_background_tasks: + if not state_compressor or not hs.config.worker.run_background_tasks: return # Return if compressor isn't enabled