diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-10-13 00:14:08 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-13 00:14:08 +1100 |
commit | 381d2cfdf0f02935b743f4b6dc1b5133d7ed27b7 (patch) | |
tree | ff35333a1bd6658ff25ad6465ccc0ed6f27d4e76 /synctl | |
parent | Comments on get_all_new_events_stream (diff) | |
download | synapse-381d2cfdf0f02935b743f4b6dc1b5133d7ed27b7.tar.xz |
Make workers work on Py3 (#4027)
Diffstat (limited to '')
-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) |