You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ashb (via GitHub)" <gi...@apache.org> on 2023/05/15 18:50:22 UTC

[GitHub] [airflow] ashb commented on a diff in pull request #30244: Add deferrable mode in Redshift delete cluster

ashb commented on code in PR #30244:
URL: https://github.com/apache/airflow/pull/30244#discussion_r1194233213


##########
airflow/providers/amazon/aws/operators/redshift_cluster.py:
##########
@@ -624,8 +629,12 @@ def __init__(
         self._attempts = 10
         self._attempt_interval = 15
         self.redshift_hook = RedshiftHook(aws_conn_id=aws_conn_id)
+        self.aws_conn_id = aws_conn_id
+        self.deferrable = deferrable
+        self.max_attempts = max_attempts

Review Comment:
   How is this different to `self._attempts`? max_attempts is currently ignored in sync mode and it probably shouldn't be.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org