Skip to content

Default socket timeout to 15 min #137

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

Merged
merged 7 commits into from
Jun 7, 2023

Conversation

mattdeekay
Copy link
Contributor

@mattdeekay mattdeekay commented Jun 6, 2023

Currently, if socket timeout is not specified in the kwargs, there will be no socket timeout. As per PECO-742, a single request should not block indefinitely. If the server side does not respond within one minute, we should timeout. We'll set the timeout conservatively to 15 min

@mattdeekay mattdeekay force-pushed the default-socket-timeout branch from 54b697f to 878d1f2 Compare June 6, 2023 17:24
@mattdeekay mattdeekay self-assigned this Jun 6, 2023
@mattdeekay mattdeekay marked this pull request as ready for review June 6, 2023 17:25
@mattdeekay mattdeekay force-pushed the default-socket-timeout branch from 7090d0d to c6af108 Compare June 6, 2023 17:58
Signed-off-by: Matthew Kim <[email protected]>
@mattdeekay mattdeekay changed the title Default socket timeout to 30 sec Default socket timeout to 15 min Jun 6, 2023
Signed-off-by: Matthew Kim <[email protected]>
@susodapop susodapop merged commit 9ef50e8 into databricks:main Jun 7, 2023
susodapop pushed a commit to unj1m/databricks-sql-python that referenced this pull request Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants