SQLALCHEMY_MAX_OVERFLOW to 60

This commit is contained in:
Jeremy Zhang 2018-12-30 21:52:33 +00:00
parent 6392e4d9bf
commit 149dbe3128

View File

@ -29,6 +29,7 @@ app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False # Suppress the warning/no
app.config['RATELIMIT_HEADERS_ENABLED'] = True
app.config['SQLALCHEMY_POOL_RECYCLE'] = 100
app.config['SQLALCHEMY_POOL_SIZE'] = 40
app.config['SQLALCHEMY_MAX_OVERFLOW'] = 60
app.config['RATELIMIT_STORAGE_URL'] = config["redis-uri"]
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=3)
app.config['REDIS_URL'] = config["redis-uri"]