Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redshift does not exit long running query #1841

Closed
woop opened this issue Sep 6, 2021 · 0 comments · Fixed by #1915
Closed

Redshift does not exit long running query #1841

woop opened this issue Sep 6, 2021 · 0 comments · Fixed by #1915

Comments

@woop
Copy link
Member

woop commented Sep 6, 2021

@retry(
wait=wait_exponential(multiplier=1, max=30),
retry=retry_if_exception_type(RedshiftStatementNotFinishedError),
)

There is no timeout on this line of code, which means it is possible for queries to run indefinitely if they don't raise an exception. I've personally run into a query that has run for 25 minutes with no response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants