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

Increase default timeouts #1719

Merged
merged 1 commit into from
Aug 28, 2023
Merged

Increase default timeouts #1719

merged 1 commit into from
Aug 28, 2023

Conversation

martin-sucha
Copy link
Contributor

Client timeouts need to be higher than server timeouts, so that work does not accumulate on the server with retries.

This was not true by default, the gocql default timeout was lower than the Cassandra default timeout.

Closes #1671
Closes #1701

Copy link

@tarzanek tarzanek left a comment

Choose a reason for hiding this comment

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

lgtm, vdaka Martin!

cluster.go Outdated Show resolved Hide resolved
Client timeouts need to be higher than server timeouts,
so that work does not accumulate on the server with retries.

This was not true by default, the gocql default timeout was lower
than the Cassandra default timeout.

Closes apache#1671
Closes apache#1701
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.

default connect timeouts are too low Confusing documentation of timeouts
3 participants