Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
Aug 15, 2020

Conversation

filimonov
Copy link
Collaborator

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
Collaborator

@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
Collaborator

@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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants