You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/06 09:11:00 UTC

[jira] [Commented] (AIRFLOW-5343) pool_pre_ping support for SQLAlchemy connection

    [ https://issues.apache.org/jira/browse/AIRFLOW-5343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924070#comment-16924070 ] 

ASF subversion and git services commented on AIRFLOW-5343:
----------------------------------------------------------

Commit a44e5762c394b59566e757c9c20cb3f9fd7851eb in airflow's branch refs/heads/master from Igor Khrol
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=a44e576 ]

[AIRFLOW-5343] Add pool_pre_ping to SQLAlchemy (#5949)

SQLalchemy supports connection check while returning it from the pool. There is a need to allow this parameter (`pool_pre_ping`) while creating the connection to database.
More info here: https://docs.sqlalchemy.org/en/13/core/pooling.html#disconnect-handling-pessimistic


> pool_pre_ping support for SQLAlchemy connection
> -----------------------------------------------
>
>                 Key: AIRFLOW-5343
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5343
>             Project: Apache Airflow
>          Issue Type: Task
>          Components: configuration
>    Affects Versions: 1.10.4
>            Reporter: Igor Khrol
>            Priority: Minor
>
> SQLalchemy supports connection check while returning it from the pool. There is a need to allow this parameter (`pool_pre_ping`) while creating the connection to database.
>  
> [https://docs.sqlalchemy.org/en/13/core/pooling.html#disconnect-handling-pessimistic]
> [https://github.com/apache/airflow/blob/master/airflow/settings.py#L189]
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)