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

Respect ReadTimeout in native #699

Merged
merged 3 commits into from
Jul 27, 2022
Merged

Respect ReadTimeout in native #699

merged 3 commits into from
Jul 27, 2022

Conversation

gingerwizard
Copy link
Collaborator

We now respect ReadTimeout in native.

Closes #676

Note we align the ReadTimeout with the ClickHouse default of 300s.

We should increase dial timeout to 10s as well.

This could be considered a breaking change - since current behaviour is no timeout. I think this is risky however - and could be considered poor implementation.

@gingerwizard gingerwizard requested review from genzgd and ernado July 27, 2022 15:43
@gingerwizard gingerwizard self-assigned this Jul 27, 2022
@gingerwizard gingerwizard changed the title Respect readtimeout in native Respect ReadTimeout in native Jul 27, 2022
@ernado
Copy link
Collaborator

ernado commented Jul 27, 2022

Agree. Probably I need to review ch-go defaults, thanks

@gingerwizard gingerwizard merged commit c4b088d into main Jul 27, 2022
@gingerwizard gingerwizard deleted the issue_676 branch July 28, 2022 09:25
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.

Respect ReadTimeout for native connections
3 participants