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

DM-41424: Improve Redis pool configuration #887

Merged
merged 1 commit into from
Oct 27, 2023
Merged

DM-41424: Improve Redis pool configuration #887

merged 1 commit into from
Oct 27, 2023

Conversation

rra
Copy link
Member

@rra rra commented Oct 27, 2023

The retry specification for the Redis connection pool was passed into the Redis constructor rather than the connection pool constructor, which appears to mean it was unused. Pass it into the connection pool constructor instead, add a socket timeout, and enable socket keepalive. This hopefully will fix a problem we saw where Gafaelfawr never recovered from the Redis server being restarted during Kubernetes maintenance.

The retry specification for the Redis connection pool was passed
into the Redis constructor rather than the connection pool constructor,
which appears to mean it was unused. Pass it into the connection pool
constructor instead, add a socket timeout, and enable socket keepalive.
This hopefully will fix a problem we saw where Gafaelfawr never
recovered from the Redis server being restarted during Kubernetes
maintenance.
@rra rra force-pushed the tickets/DM-41424 branch 2 times, most recently from e89070a to f14d1e0 Compare October 27, 2023 19:01
@rra rra merged commit 32384ca into main Oct 27, 2023
10 checks passed
@rra rra deleted the tickets/DM-41424 branch October 27, 2023 19:33
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.

None yet

1 participant