Skip to content
Snippets Groups Projects
Commit c5c5a740 authored by Erik Johnston's avatar Erik Johnston
Browse files

Make synctl read a cache factor from config file

parent c0112fab
No related branches found
No related tags found
Loading
......@@ -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"] = cache_factor
action = sys.argv[1] if sys.argv[1:] else "usage"
if action == "start":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment