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)

Reply via email to