airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Yang (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-304) Disable connection pooling for `airflow run`
Date Thu, 30 Jun 2016 23:49:10 GMT
Paul Yang created AIRFLOW-304:

             Summary: Disable connection pooling for `airflow run`
                 Key: AIRFLOW-304
             Project: Apache Airflow
          Issue Type: Bug
          Components: cli
    Affects Versions: Airflow 1.8, Airflow 1.7.1
            Reporter: Paul Yang
            Assignee: Paul Yang
            Priority: Minor
             Fix For: Airflow 1.8

When airflow runs a task through the `airflow run` command, it keeps around a connection to
the DB due to the connection pool settings and the way that sessions are managed.

To reduce the number of connections to the DB, the run command should create connections as
needed. This is dependent on the job heart rate configuration, but by default, this is only
once every 5 seconds.

This message was sent by Atlassian JIRA

View raw message