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

Add ClickHouse http client timeout #27

Merged
merged 1 commit into from
Jan 29, 2019
Merged

Add ClickHouse http client timeout #27

merged 1 commit into from
Jan 29, 2019

Conversation

nvartolomei
Copy link
Contributor

30 seconds for each request is long enough for ClickHouse to
respond under any conditions, but short enough to close stuck
connections.

Making it configurable means breaking NewExporter clients.
Or, a new interface for creating exporters has to be created.

Closes #25 which is most likely caused by
ClickHouse/ClickHouse#4060.

30 seconds for each request is long enough for ClickHouse to
respond under any conditions, but short enough to close stuck
connections.

Making it configurable means breaking `NewExporter` clients.
Or, a new interface for creating exporters has to be created.

Closes #25 which is most likely caused by
ClickHouse/ClickHouse#4060.
@f1yegor f1yegor merged commit 1038e72 into ClickHouse:master Jan 29, 2019
@f1yegor
Copy link
Contributor

f1yegor commented Jan 29, 2019

Thank you!

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.

Dangling sockets in a CLOSE_WAIT state
2 participants