mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Access replication_url from the worker config directly
This commit is contained in:
parent
80a1bc7db5
commit
bde13833cb
3 changed files with 6 additions and 8 deletions
|
@ -46,10 +46,6 @@ def clobber_with_worker_config(config, worker_config):
|
|||
# worker config directly.
|
||||
config.event_cache_size = worker_config.event_cache_size
|
||||
|
||||
# TODO: The replication_url should only be accessed within worker specific
|
||||
# code so it really shouldn't need to be clobbered in the main config.
|
||||
config.replication_url = worker_config.replication_url
|
||||
|
||||
|
||||
def read_worker_config(config):
|
||||
return Worker(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue