increate timeout when create schema

Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/e28071d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/e28071d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/e28071d7

Branch: refs/heads/master
Commit: e28071d749b7ff289a96af288b1f41f1c73fd44a
Parents: cf33660
Author: Chul Kang <[email protected]>
Authored: Thu Apr 12 12:29:10 2018 +0900
Committer: Chul Kang <[email protected]>
Committed: Thu Apr 12 12:29:10 2018 +0900

----------------------------------------------------------------------
 conf/application.conf    | 5 +++++
 example/create_schema.sh | 1 +
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/e28071d7/conf/application.conf
----------------------------------------------------------------------
diff --git a/conf/application.conf b/conf/application.conf
index 5711d14..2124900 100644
--- a/conf/application.conf
+++ b/conf/application.conf
@@ -76,3 +76,8 @@ db.default.driver = "org.h2.Driver"
 db.default.url = "jdbc:h2:tcp://localhost/./var/metastore;MODE=MYSQL"
 db.default.user = "sa"
 db.default.password = "sa"
+
+akka.http.server {
+    request-timeout = 120 s
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/e28071d7/example/create_schema.sh
----------------------------------------------------------------------
diff --git a/example/create_schema.sh b/example/create_schema.sh
index 9f511cb..bce0db9 100755
--- a/example/create_schema.sh
+++ b/example/create_schema.sh
@@ -23,6 +23,7 @@ for file in `ls ${SCHEMA_HOME}/vertex.*`; do
     info "file:  $file"
     graphql_rest $file
 done
+get_services
 
 q "create edges >>> "
 for file in `ls ${SCHEMA_HOME}/edge.*`; do

Reply via email to