RosterIn commented on code in PR #25874:
URL: https://github.com/apache/airflow/pull/25874#discussion_r952722974


##########
tests/cluster_policies/__init__.py:
##########
@@ -89,8 +89,8 @@ class TimedOperator(BaseOperator, ABC):
 def task_policy(task: TimedOperator):
     if task.task_type == 'HivePartitionSensor':
         task.queue = "sensor_queue"
-    if task.timeout > timedelta(hours=48):

Review Comment:
   It seems complex to change the whole example. everything I touch produce 
another error.
   I'll leave it to someone more experienced with cluster policy.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to