airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-6210) Reuse SQLAlchemy session in ti_deps
Date Tue, 10 Dec 2019 21:46:00 GMT

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

Ash Berlin-Taylor commented on AIRFLOW-6210:
--------------------------------------------

This didn't show up at all as a slow spot in my recent profiling work, so while it might be
"better" I doubt it will have any impact on performance.

> Reuse SQLAlchemy session in ti_deps
> -----------------------------------
>
>                 Key: AIRFLOW-6210
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6210
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core, scheduler
>    Affects Versions: 1.10.6
>            Reporter: Kamil Bregula
>            Priority: Major
>
> This generates unnecessary overhead and it is good practice to use the session again
if possible. These functions are performed in a loop, so it can be a bigger issues in some
cases.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message