You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Paul Yang (JIRA)" <ji...@apache.org> on 2016/06/30 23:49:10 UTC
[jira] [Created] (AIRFLOW-304) Disable connection pooling for
`airflow run`
Paul Yang created AIRFLOW-304:
---------------------------------
Summary: Disable connection pooling for `airflow run`
Key: AIRFLOW-304
URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)