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

Enhance cluster configuration with reconnection policy and improve co… #300

Closed
wants to merge 2 commits into from

Conversation

itsfuad
Copy link
Contributor

@itsfuad itsfuad commented Jan 29, 2025

This pull request includes updates to improve the configuration and error handling in the gocqlxtest and queryx_wrap packages. The most important changes are the addition of a reconnection policy in the CreateCluster function and the handling of nil contexts in the WithContext method.

Improvements to cluster configuration:

  • gocqlxtest/gocqlxtest.go: Added a reconnection policy to the CreateCluster function to improve reliability during connection retries.

Error handling improvements:

  • queryx_wrap.go: Modified the WithContext method to handle nil contexts by defaulting to context.Background().

@itsfuad
Copy link
Contributor Author

itsfuad commented Jan 29, 2025

Ah, A commented code caused the linter to fail the test. Doin' it again

@itsfuad itsfuad closed this Jan 29, 2025
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.

1 participant