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

AP-5015 added maxRetriesPerRequest to RedisConfig #156

Merged
merged 4 commits into from
Aug 30, 2024

Conversation

kjamrog
Copy link
Contributor

@kjamrog kjamrog commented Aug 30, 2024

Changes

Adding maxRetriesPerRequest parameter to RedisConfig, so that it can be used in default configuration object.
See: https://lokalise.atlassian.net/browse/AP-5015

Checklist

  • Apply one of following labels; major, minor, patch or skip-release
  • I've updated the documentation, or no changes were necessary
  • I've updated the tests, or no changes were necessary

@@ -13,6 +13,9 @@ export type RedisConfig = {
password?: string
commandTimeout?: number
connectTimeout?: number
maxRetriesPerRequest?: number | null
enableReadyCheck?: boolean
lazyConnect?: boolean
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kibertoad I added 2 more parameters that we are using in Flow, so that we are not blocked from using RedisConfig in cases when those are needed

@kjamrog kjamrog requested a review from kibertoad August 30, 2024 10:38
@kjamrog kjamrog merged commit 5557183 into main Aug 30, 2024
5 checks passed
@kjamrog kjamrog deleted the AP-5015_add_max_retries_per_request_to_redis_config branch August 30, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants