Access replication_url from the worker config directly

This commit is contained in:
Mark Haines 2016-06-16 12:44:40 +01:00
parent 80a1bc7db5
commit bde13833cb
3 changed files with 6 additions and 8 deletions

View file

@ -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(