weiwenlan commented on code in PR #30571:
URL: https://github.com/apache/airflow/pull/30571#discussion_r1163634812


##########
airflow/sensors/base.py:
##########
@@ -251,7 +251,7 @@ def run_duration() -> float:
                 raise AirflowRescheduleException(reschedule_date)
             else:
                 time.sleep(self._get_next_poke_interval(started_at, 
run_duration, try_number))
-                try_number += 1
+            try_number += 1

Review Comment:
   @utkarsharma2 Thanks for the suggestion! I will try to add some test cases 
for the exponential_backoff parameter in different modes.



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