diff options
author | Erik Johnston <erikj@matrix.org> | 2016-05-16 17:21:30 +0100 |
---|---|---|
committer | Matrix <matrix@matrix.org> | 2016-05-16 17:21:30 +0100 |
commit | c39f305067bf2d4527322922014ff682547de103 (patch) | |
tree | 28f8505f1738048f2f74c883c2a5bb35ece9b53e | |
parent | Merge pull request #785 from matrix-org/erikj/cache_factor_synctly (diff) | |
download | synapse-c39f305067bf2d4527322922014ff682547de103.tar.xz |
os.environ requires a string
Diffstat (limited to '')
-rwxr-xr-x | synapse/app/synctl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py index 669a3ae92a..39f4bf6e53 100755 --- a/synapse/app/synctl.py +++ b/synapse/app/synctl.py @@ -69,7 +69,7 @@ def main(): cache_factor = config.get("synctl_cache_factor", None) if cache_factor: - os.environ["SYNAPSE_CACHE_FACTOR"] = cache_factor + os.environ["SYNAPSE_CACHE_FACTOR"] = str(cache_factor) action = sys.argv[1] if sys.argv[1:] else "usage" if action == "start": |