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

[jira] [Commented] (AIRFLOW-3517) Set expire_on_commit to False

    [ https://issues.apache.org/jira/browse/AIRFLOW-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867984#comment-16867984 ] 

Roster commented on AIRFLOW-3517:
---------------------------------

[~Fokko] Did you fixed it?

I see the discussion on [https://github.com/apache/airflow/pull/4298] 

But on Master the setting is:
{code:java}
expire_on_commit=False {code}
[https://github.com/apache/airflow/blob/ded25e16c1fb912019d3d0e5d47d020dccaa54b7/airflow/settings.py#L198]

 

So what should be further changed?

> Set expire_on_commit to False
> -----------------------------
>
>                 Key: AIRFLOW-3517
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3517
>             Project: Apache Airflow
>          Issue Type: Task
>          Components: core
>            Reporter: Fokko Driesprong
>            Assignee: Fokko Driesprong
>            Priority: Major
>             Fix For: 2.0.0
>
>
> Due to expire_on_commit=True the connections to the database are open much longer than needed, and therefore we have a lot of open connections to the database.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)