We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1939665 commit a2dda14Copy full SHA for a2dda14
settings.py
@@ -7,6 +7,8 @@ class Config(object):
7
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
8
SQLALCHEMY_TRACK_MODIFICATIONS = False
9
SWAGGER_UI_DOC_EXPANSION = "list"
10
+ # pool_pre_ping should help handle DB connection drops
11
+ SQLALCHEMY_ENGINE_OPTIONS = {"pool_pre_ping": True}
12
13
14
class ProductionConfig(Config):
0 commit comments