Lee-W commented on code in PR #30231:
URL: https://github.com/apache/airflow/pull/30231#discussion_r1145774735
##########
airflow/providers/google/cloud/sensors/bigquery.py:
##########
@@ -147,8 +147,11 @@ def __init__(
gcp_conn_id: str = "google_cloud_default",
delegate_to: str | None = None,
impersonation_chain: str | Sequence[str] | None = None,
+ deferrable: bool = False,
**kwargs,
) -> None:
+ if deferrable and "poke_interval" not in kwargs:
+ kwargs["poke_interval"] = 5
Review Comment:
I just noticed
[AzureDataFactoryPipelineRunStatusAsyncSensor](https://github.com/apache/airflow/blob/3239720c6e9f8a868c6a74871be24049b367aa34/airflow/providers/microsoft/azure/sensors/data_factory.py#L102)
using 60 instead of 5. Do you think we still should add this constant in this
case?
--
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]