NabiBukhsh-AI commented on code in PR #74561:
URL: https://github.com/apache/airflow/pull/74561#discussion_r4298715871
##########
providers/amazon/src/airflow/providers/amazon/aws/hooks/appflow.py:
##########
@@ -68,7 +68,7 @@ def run_flow(
waiter=self.get_waiter("run_complete", {"EXECUTION_ID":
execution_id}),
waiter_delay=poll_interval,
waiter_max_attempts=max_attempts,
- args={"flowName": flow_name},
+ args={"flowName": flow_name, "maxResults": 100},
Review Comment:
Thanks for the note! Yes, that was the intent, since waiters only inspect a
single response and don't follow pagination tokens, requesting 100 items (the
AWS API maximum) instead of the default 20 maximizes the window of recent
executions checked on each poll attempt.
--
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]