[
https://issues.apache.org/jira/browse/AIRFLOW-3548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772967#comment-16772967
]
jack commented on AIRFLOW-3548:
-------------------------------
Are you referring to backend as MySQL?
> Tasks instances doesn't reuse mysql connection
> ----------------------------------------------
>
> Key: AIRFLOW-3548
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3548
> Project: Apache Airflow
> Issue Type: Improvement
> Components: worker
> Affects Versions: 1.10.1
> Reporter: Rami Darwish
> Priority: Minor
>
> Task instances keep opening a new connection to mysql every
> "job_heartbeat_sec" interval. Ideally, it should open 1 connection for the
> life span of the task until it finished executing. It seems to ignore
> sql_alchemy_pool_enabled = True
> We're using airflow 1.10.1, mysql 5.7, SQLAlchemy 1.1.18, Python 2.7.12
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)