diff options
author | Travis Ralston <travpc@gmail.com> | 2018-10-12 16:24:07 -0600 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2018-10-12 16:24:07 -0600 |
commit | 7ede6509561ebe4c217210ea3431421fcf9910b2 (patch) | |
tree | 146a92462af13f48ca90f5096394d34b573eb393 /synctl | |
parent | Changelog (diff) | |
parent | Make workers work on Py3 (#4027) (diff) | |
download | synapse-7ede6509561ebe4c217210ea3431421fcf9910b2.tar.xz |
Merge branch 'develop' into travis/login-terms
Diffstat (limited to 'synctl')
-rwxr-xr-x | synctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synctl b/synctl index 356e5cb6a7..09b64459b1 100755 --- a/synctl +++ b/synctl @@ -280,7 +280,7 @@ def main(): if worker.cache_factor: os.environ["SYNAPSE_CACHE_FACTOR"] = str(worker.cache_factor) - for cache_name, factor in worker.cache_factors.iteritems(): + for cache_name, factor in iteritems(worker.cache_factors): os.environ["SYNAPSE_CACHE_FACTOR_" + cache_name.upper()] = str(factor) start_worker(worker.app, configfile, worker.configfile) |