You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Omkar (Jira)" <ji...@apache.org> on 2019/09/25 09:24:00 UTC

[jira] [Created] (AIRFLOW-5547) S3_hook creates a new connection even if a connection exists for method calls

Omkar created AIRFLOW-5547:
------------------------------

             Summary: S3_hook creates a new connection even if a connection exists for method calls
                 Key: AIRFLOW-5547
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5547
             Project: Apache Airflow
          Issue Type: Improvement
          Components: aws
    Affects Versions: 1.10.5
            Reporter: Omkar
            Assignee: Omkar


S3_hook creates a new connection everytime a method is called. This can be avoided with a simple fix that checks if a connection exists before a new connection is established. This fix will save a lot of compute cycles where methods are called multiple times in a short span and thus improving performance.



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