mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
Up sqlalchemy limit
This commit is contained in:
parent
70b54a299b
commit
29d269a80d
@ -32,8 +32,8 @@ app.config['SQLALCHEMY_DATABASE_URI'] = config['database-uri']
|
|||||||
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False # Suppress the warning/no need this on for now.
|
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False # Suppress the warning/no need this on for now.
|
||||||
app.config['RATELIMIT_HEADERS_ENABLED'] = True
|
app.config['RATELIMIT_HEADERS_ENABLED'] = True
|
||||||
app.config['SQLALCHEMY_POOL_RECYCLE'] = 100
|
app.config['SQLALCHEMY_POOL_RECYCLE'] = 100
|
||||||
app.config['SQLALCHEMY_POOL_SIZE'] = 40
|
app.config['SQLALCHEMY_POOL_SIZE'] = 500
|
||||||
app.config['SQLALCHEMY_MAX_OVERFLOW'] = 60
|
app.config['SQLALCHEMY_MAX_OVERFLOW'] = -1
|
||||||
app.config['RATELIMIT_STORAGE_URL'] = config["redis-uri"]
|
app.config['RATELIMIT_STORAGE_URL'] = config["redis-uri"]
|
||||||
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=3)
|
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=3)
|
||||||
app.config['REDIS_URL'] = config["redis-uri"]
|
app.config['REDIS_URL'] = config["redis-uri"]
|
||||||
|
Loading…
Reference in New Issue
Block a user