diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/compileconfig.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/compileconfig.py b/tools/compileconfig.py index df43365..e747fad 100755 --- a/tools/compileconfig.py +++ b/tools/compileconfig.py @@ -214,6 +214,10 @@ def gen_config(nodename, config, localconfig): if "frontendnodes" in nodetype: if "sctcaching" in options: catlfishconfig.append((Symbol("sctcache_root_path"), paths["db"] + "sctcache/")) + opt = filter(lambda e: "max_submit_size" in e, options) + if len(opt) > 0: + max_submit_size = opt[0]["max_submit_size"] # Ignore all but first. + catlfishconfig.append((Symbol("max_submit_size"), max_submit_size)) if "ratelimits" in localconfig: ratelimits = map(parse_ratelimit, localconfig["ratelimits"].items()) catlfishconfig.append((Symbol("ratelimits"), ratelimits)) |