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)

Reply via email to