dstandish commented on code in PR #28586:
URL: https://github.com/apache/airflow/pull/28586#discussion_r1059132733


##########
airflow/executors/base_executor.py:
##########
@@ -54,6 +57,44 @@
 # Task tuple to send to be executed
 TaskTuple = Tuple[TaskInstanceKey, CommandType, Optional[str], Optional[Any]]
 
+log = logging.getLogger(__name__)
+
+
+@dataclass
+class RunningRetryAttemptType:
+    """
+    For keeping track of attempts to queue again when task still apparently 
running.
+
+    We don't want to slow down the loop, so we don't block, but we allow it to 
be
+    re-checked for at least MIN_SECONDS seconds.
+    """
+
+    MIN_SECONDS = 5

Review Comment:
   who knows!? what do you suggest... 30?



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