You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (Jira)" <ji...@apache.org> on 2019/12/10 21:46:00 UTC
[jira] [Commented] (AIRFLOW-6210) Reuse SQLAlchemy session in
ti_deps
[ 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)