If you want more control over connection pooling, check out the 
Flask-SQLAlchemy docs here:
http://flask-sqlalchemy.pocoo.org/2.3/config/

By default, each web worker will start a connection pool with 5 slots. You can 
change this in your environment by tweaking the `SQLALCHEMY_POOL_SIZE`, 
`SQLALCHEMY_POOL_TIMEOUT` and `SQLALCHEMY_POOL_RECYCLE` in your 
`superset_config` to get more control over the connection pool. 

For most, the expected number of connections should we `<= [number of web 
servers] * [number of gunicorn workers] * [config.SQLALCHEMY_POOL_SIZE]`

[ Full content available at: 
https://github.com/apache/incubator-superset/issues/5953 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to