summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsynapse/app/synctl.py2
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":