Trollgeir commented on a change in pull request #5319: 
[AIRFLOW-4564][AIRFLOW-4523][AIRFLOW-4577] Azure Container Instance  bugfixes 
and improvements
URL: https://github.com/apache/airflow/pull/5319#discussion_r298870324
 
 

 ##########
 File path: airflow/contrib/operators/azure_container_instances_operator.py
 ##########
 @@ -208,16 +267,30 @@ def _monitor_logging(self, ci_hook, resource_group, 
name):
         last_state = None
         last_message_logged = None
         last_line_logged = None
-        for _ in range(43200):  # roughly 12 hours
+
+        for _ in range(self.container_timeout):
 
 Review comment:
   Using AirflowTaskTimeout instead.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to