feluelle commented on a change in pull request #5825: [AIRFLOW-5218] less 
polling for AWS Batch status
URL: https://github.com/apache/airflow/pull/5825#discussion_r314349833
 
 

 ##########
 File path: airflow/contrib/operators/awsbatch_operator.py
 ##########
 @@ -105,6 +106,7 @@ def execute(self, context):
             self.jobId = response['jobId']
             self.jobName = response['jobName']
 
+            sleep(randint(10, 60))
 
 Review comment:
   Does it really need to be random? - also one `self.log` before this would be 
nice imo

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to