Commit 97af779d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 588abd65
......@@ -40,7 +40,7 @@ def main():
clusterName = sys.argv[2]
readyf = workdir + "/ready"
kw = {}
kw = {'clear_databases': False} # switch default not to clear data on startup
for arg in sys.argv[3:]:
k, v = arg.split('=')
kw[k] = v
......@@ -66,10 +66,7 @@ def main():
flags = ' ssl'
NEOCluster.SSL = (ca, cert, key)
if kw:
raise RuntimeError(sinfo("unexpected flags: %s" % kw))
cluster = NEOCluster([clusterName], adapter='SQLite', name=clusterName, temp_dir=workdir)
cluster = NEOCluster([clusterName], adapter='SQLite', name=clusterName, temp_dir=workdir, **kw)
cluster.start()
defer(cluster.stop)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment