Skip to content
Snippets Groups Projects
Commit d329a31f authored by Mart van Santen's avatar Mart van Santen
Browse files

Merge branch...

Merge branch '165-on-a-have-node-with-a-lot-of-users-sometimes-mysql-connections-drop-causing-rendering-errors' into 'main'

Resolve "On a have node, with a lot of users, sometimes mysql connections drop, causing rendering errors"

See merge request stackspin/dashboard!144
parents 3c572267 076001d1
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ app = Flask(__name__) ...@@ -62,6 +62,7 @@ app = Flask(__name__)
app.config["SECRET_KEY"] = SECRET_KEY app.config["SECRET_KEY"] = SECRET_KEY
app.config["SQLALCHEMY_DATABASE_URI"] = SQLALCHEMY_DATABASE_URI app.config["SQLALCHEMY_DATABASE_URI"] = SQLALCHEMY_DATABASE_URI
app.config["SQLALCHEMY_ENGINE_OPTIONS"] = {'pool_pre_ping': True}
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = SQLALCHEMY_TRACK_MODIFICATIONS app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = SQLALCHEMY_TRACK_MODIFICATIONS
app.logger.setLevel(logging.INFO) app.logger.setLevel(logging.INFO)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment