From 7d49d86b60674c925c932b3a3f16c7b4c8226978 Mon Sep 17 00:00:00 2001 From: Azrenbeth <7782548+Azrenbeth@users.noreply.github.com> Date: Mon, 27 Sep 2021 13:05:29 +0100 Subject: Remove accidental s at end of hs.config.worker --- synapse/util/state_compressor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/util/state_compressor.py') 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 -- cgit 1.5.1