diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-05-17 10:13:16 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-05-17 10:13:16 +0100 |
commit | 425e6b4983ccb01bf9053edb14ff23a7eb9a0afb (patch) | |
tree | 7bdebcc130261183a7d3864f56857e7006df3454 /synapse/app/synctl.py | |
parent | Remove get_joined_rooms_for_user from RoomMemberHandler (diff) | |
parent | Merge pull request #787 from matrix-org/markjh/liberate_presence_handler (diff) | |
download | synapse-425e6b4983ccb01bf9053edb14ff23a7eb9a0afb.tar.xz |
Merge branch 'develop' into markjh/member_cleanup
Diffstat (limited to 'synapse/app/synctl.py')
-rwxr-xr-x | synapse/app/synctl.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py index ab3a31d7b7..39f4bf6e53 100755 --- a/synapse/app/synctl.py +++ b/synapse/app/synctl.py @@ -66,6 +66,10 @@ def main(): config = yaml.load(open(configfile)) pidfile = config["pid_file"] + cache_factor = config.get("synctl_cache_factor", None) + + if cache_factor: + os.environ["SYNAPSE_CACHE_FACTOR"] = str(cache_factor) action = sys.argv[1] if sys.argv[1:] else "usage" if action == "start": |