You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/08/15 15:00:23 UTC

[GitHub] [airflow] feluelle commented on a change in pull request #5825: [AIRFLOW-5218] less polling for AWS Batch status

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:
users@infra.apache.org


With regards,
Apache Git Services