mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Fix QueuePool size timeout error.
This commit is contained in:
parent
202ab2e0de
commit
6d3ccce83f
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user