Skip to content

Cherry-pick https://github.com/artpaul/clickhouse-cpp/pull/112 #47

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 1 commit into from
Aug 15, 2020

Conversation

filimonov
Copy link
Contributor

try to reconnect send_retries times before throw in RetryGuard (artpul#112)
See artpaul/clickhouse-cpp#112

@filimonov filimonov requested a review from traceon August 11, 2020 10:23
Copy link
Contributor

@traceon traceon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as soon as it passes tests.

@@ -40,7 +40,7 @@ struct ClientOptions {
/// Hostname of the server.
DECLARE_FIELD(host, std::string, SetHost, std::string());
/// Service port.
DECLARE_FIELD(port, int, SetPort, 9000);
DECLARE_FIELD(port, unsigned int, SetPort, 9000);
Copy link
Contributor

@traceon traceon Aug 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this cause parsing/underflow issues anywhere?

@traceon traceon merged commit 69470d1 into master Aug 15, 2020
@filimonov filimonov deleted the backport_artpaul_pr_112 branch March 22, 2021 11:07
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