Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,12 @@ from nebula3.gclient.net import ConnectionPool
|
|
3 |
from nebula3.mclient import MetaCache
|
4 |
from nebula3.gclient.net import Connection
|
5 |
from nebula3.graph import GraphService
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
7 |
# 接続設定
|
8 |
config = Config()
|
9 |
config.max_connection_pool_size = 10
|
|
|
3 |
from nebula3.mclient import MetaCache
|
4 |
from nebula3.gclient.net import Connection
|
5 |
from nebula3.graph import GraphService
|
6 |
+
import os
|
7 |
+
os.system("""
|
8 |
+
nebula-metad --daemon
|
9 |
+
nebula-storaged --daemon
|
10 |
+
nebula-graphd --daemon
|
11 |
+
""")
|
12 |
# 接続設定
|
13 |
config = Config()
|
14 |
config.max_connection_pool_size = 10
|