You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by mx...@apache.org on 2017/06/06 14:24:54 UTC

incubator-ariatosca git commit: wip [Forced Update!]

Repository: incubator-ariatosca
Updated Branches:
  refs/heads/database_locked_poc 872d2feec -> 9f9de45da (forced update)


wip


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

Branch: refs/heads/database_locked_poc
Commit: 9f9de45da38ec735e9d9603b49f4c875af830218
Parents: 180e0a1
Author: max-orlov <ma...@gigaspaces.com>
Authored: Tue Jun 6 17:05:21 2017 +0300
Committer: max-orlov <ma...@gigaspaces.com>
Committed: Tue Jun 6 17:24:48 2017 +0300

----------------------------------------------------------------------
 aria/storage/sql_mapi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/9f9de45d/aria/storage/sql_mapi.py
----------------------------------------------------------------------
diff --git a/aria/storage/sql_mapi.py b/aria/storage/sql_mapi.py
index 4d7e233..68d0ff6 100644
--- a/aria/storage/sql_mapi.py
+++ b/aria/storage/sql_mapi.py
@@ -405,7 +405,7 @@ def init_storage(base_dir, filename='db.sqlite'):
 
         path=os.path.join(base_dir, filename))
 
-    engine = create_engine(uri)
+    engine = create_engine(uri, connect_args=dict(timeout=15))
     session_factory = orm.sessionmaker(bind=engine)
     session = orm.scoped_session(session_factory=session_factory)