Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit c015379

Browse files
committed
Update the sample config.
1 parent d40aff7 commit c015379

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Diff for: docs/sample_config.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -2459,10 +2459,9 @@ opentracing:
24592459
# typing: worker1
24602460

24612461
# The worker that is used to run background tasks (e.g. cleaning up expired
2462-
# data). This should be one of the workers from `instance_map`. If not
2463-
# provided this defaults to the main process.
2462+
# data). If not provided this defaults to the main process.
24642463
#
2465-
#run_background_tasks: worker1
2464+
#run_background_tasks_on: worker1
24662465

24672466

24682467
# Configuration for Redis when using workers. This *must* be enabled when

Diff for: synapse/config/workers.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,9 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs):
182182
# typing: worker1
183183
184184
# The worker that is used to run background tasks (e.g. cleaning up expired
185-
# data). This should be one of the workers from `instance_map`. If not
186-
# provided this defaults to the main process.
185+
# data). If not provided this defaults to the main process.
187186
#
188-
#run_background_tasks: worker1
187+
#run_background_tasks_on: worker1
189188
"""
190189

191190
def read_arguments(self, args):

0 commit comments

Comments
 (0)