ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm...@apache.org
Subject incubator-ariatosca git commit: wip
Date Tue, 06 Jun 2017 14:05:28 GMT
Repository: incubator-ariatosca
Updated Branches:
  refs/heads/database_locked_poc [created] 872d2feec


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/872d2fee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/872d2fee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/872d2fee

Branch: refs/heads/database_locked_poc
Commit: 872d2feec5f5d9cb498e336867d84672f5c512ee
Parents: 180e0a1
Author: max-orlov <maxim@gigaspaces.com>
Authored: Tue Jun 6 17:05:21 2017 +0300
Committer: max-orlov <maxim@gigaspaces.com>
Committed: Tue Jun 6 17:05:21 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/872d2fee/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)
 


Mime
View raw message