Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added timeout parameter for Connection class #418

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

Open
bit-sam wants to merge 1 commit into dropbox:master
base: master
Choose a base branch
Loading
from bit-sam:add_timeout_connection

Conversation

@bit-sam
Copy link

@bit-sam bit-sam commented Oct 5, 2021

What:
Pyhive does not support custom connection timeout, and user may have to wait long time-period unwillingly before an exception is raised.
This PR would add an extra optional parameter timeout to Connection class which would allow users to set custom timeout for hive connections.

How:
This PR exposes the underlying timeout functionality of TSocket and THttpClient to Connection class for the users which add extra flexibility for advanced users, who might need more flexibility, and is also backward compatible

@bit-sam bit-sam changed the title (削除) Added timeout for connection (削除ここまで) (追記) Added timeout parameter for Connection class (追記ここまで) Oct 5, 2021
Copy link

CLAassistant commented Apr 16, 2022
edited
Loading

CLA assistant check
All committers have signed the CLA.

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

Reviewers

1 more reviewer

@psantacl psantacl psantacl approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /