Fix pool recycle on MySQL
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ded5d28a62
commit
b811dcf19d
|
@ -35,4 +35,7 @@ if db_host:
|
|||
)
|
||||
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True
|
||||
app.config['SQLALCHEMY_ECHO'] = IS_DEBUG
|
||||
app.config['SQLALCHEMY_ENGINE_OPTIONS'] = {
|
||||
'pool_recycle': 200
|
||||
}
|
||||
db = SQLAlchemy(app)
|
||||
|
|
Reference in New Issue