You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Rami Darwish (JIRA)" <ji...@apache.org> on 2018/12/20 19:55:00 UTC

[jira] [Created] (AIRFLOW-3548) Tasks instances doesn't reuse mysql connection

Rami Darwish created AIRFLOW-3548:
-------------------------------------

             Summary: 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


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)