Skip to content

chore: remove deprecated default timeout from AbstractRedisClient (#3328) #3344

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

The-East-Wind
Copy link

@The-East-Wind The-East-Wind commented Jul 2, 2025

Changes

  • removed deprecated get/set defaultTimeout from AbstractRedisClient
  • removed usages of get/set defaultTimeout from RedisClient and RedisClusterClient
  • set default timeout from RedisURI wherever applicable
  • refactored integration tests to make use of/verify using default timeout in RedisURI

Make sure that:

  • You have read the contribution guidelines.
  • You have created a feature request first to discuss your contribution intent. Please reference the feature request ticket number in the pull request.
  • You applied code formatting rules using the mvn formatter:format target. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.

- remove usages from RedisClient and replaced with timeout value from redisUri
- fixed failing tests in RedisClientConnectIntegrationTests by asserting timeout to be equal to default timeout from RedisURI
- refactored DefaultRedisClient test fixture to not set timeout

Signed-off-by: The-East-Wind <[email protected]>
- refactor AtLeastOnce and AtMostOnce IntegrationTests to remove setting timeout on the client level and instead set it in the URI level
- removed default timeout and usages which set it from AbstractRedisClient, RedisClient and RedisClusterClient

Signed-off-by: The-East-Wind <[email protected]>
@The-East-Wind The-East-Wind changed the title chore: remove deprecated default timeout from AbstractRedisCleint (#3328) chore: remove deprecated default timeout from AbstractRedisClient (#3328) Jul 2, 2025
@tishun tishun added this to the 7.0.0.RELEASE milestone Jul 7, 2025
@tishun tishun added the type: breaking Breaking change label Jul 7, 2025
Copy link
Collaborator

@tishun tishun left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: breaking Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants