Commit 7d5abc4a authored by Christian Schneider's avatar Christian Schneider
Browse files

Changed timeout from default 10s to 1 s

parent c62e1e37
......@@ -53,7 +53,8 @@ cryo_url = ("mysql+mysqlconnector://{username}:" +
databasename='Cryostats')
app.config['SQLALCHEMY_DATABASE_URI'] = devices_url
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
app.config['SQLALCHEMY_ENGINE_OPTIONS'] = {'connect_args': {'use_pure': True}}
app.config['SQLALCHEMY_ENGINE_OPTIONS'] = {'connect_args': {'use_pure': True,
'connect_timeout': 1}}
app.config['SQLALCHEMY_BINDS'] = {
'cryostats': cryo_url,
'devices': devices_url
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment