Skip to content

Conversation

The-East-Wind
Copy link
Contributor

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

@tishun tishun merged commit 8317caa into redis:main Aug 8, 2025
11 of 12 checks passed
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