Skip to content

Commit 74f887f

Browse files
author
Tsotne Tabidze
authored
fix: Fix Redshift bug that stops waiting on statements after 5 minutes (#2363)
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
1 parent ec7385c commit 74f887f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sdk/python/feast/infra/utils/aws_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
retry,
1212
retry_if_exception_type,
1313
stop_after_attempt,
14-
stop_after_delay,
1514
wait_exponential,
1615
)
1716

@@ -103,7 +102,6 @@ class RedshiftStatementNotFinishedError(Exception):
103102
@retry(
104103
wait=wait_exponential(multiplier=1, max=30),
105104
retry=retry_if_exception_type(RedshiftStatementNotFinishedError),
106-
stop=stop_after_delay(300), # 300 seconds
107105
reraise=True,
108106
)
109107
def wait_for_redshift_statement(redshift_data_client, statement: dict) -> None:

0 commit comments

Comments
 (0)