Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
97af779d
Commit
97af779d
authored
Dec 29, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
588abd65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
go/neo/py/runneo.py
go/neo/py/runneo.py
+2
-5
No files found.
go/neo/py/runneo.py
View file @
97af779d
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment