mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-27 00:10:35 +00:00
Fix QueuePool size timeout error.
This commit is contained in:
@ -31,6 +31,8 @@ class DevelopmentConfig(Config):
|
||||
DEBUG = True
|
||||
|
||||
''' ### Flask-SQLAlchemy ### '''
|
||||
SQLALCHEMY_ENGINE_OPTIONS = {'pool_size': 30,
|
||||
'pool_timeout': 30}
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql://{}:{}@db/{}'.format(
|
||||
os.environ.get('POSTGRES_USER'),
|
||||
os.environ.get('POSTGRES_PASSWORD'),
|
||||
|
Reference in New Issue
Block a user