You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/08/06 15:03:28 UTC
[GitHub] RemiTurpaud commented on issue #2321: get_sqla_engine in models.py should save and reuse engine across requests
RemiTurpaud commented on issue #2321: get_sqla_engine in models.py should save and reuse engine across requests
URL: https://github.com/apache/incubator-superset/issues/2321#issuecomment-320512406
Another impact of this behavior seems to be that DB sessions remain opened, until closed by the DBMS or server shutdown.
If the engine can't be reused across queries, alternatives could be to ensure the engine is disposed after the request and/or the pooling is disabled, using NullPool.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services