Skip to content

Conversation

kwSeo
Copy link
Contributor

@kwSeo kwSeo commented Apr 30, 2020

What this PR does:

I think Redis cache configuration need some more options.
I added the configuration options used by Redigo.
(reference: https://godoc.org/github.com/gomodule/redigo/redis)

  • idle_timeout
  • wait
  • max_conn_lifetime

Which issue(s) this PR fixes:

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

…fetime

Signed-off-by: Kyeongwon Seo <ruddnjs1230@gmail.com>
kwSeo added 2 commits April 30, 2020 22:48
Signed-off-by: Kyeongwon Seo <ruddnjs1230@gmail.com>
Signed-off-by: Kyeongwon Seo <ruddnjs1230@gmail.com>
@kwSeo kwSeo force-pushed the add_redis_flags branch from caa44e4 to 2da3461 Compare April 30, 2020 13:49
Signed-off-by: Kyeongwon Seo <ruddnjs1230@gmail.com>
Copy link
Contributor

@gouthamve gouthamve left a comment

Choose a reason for hiding this comment

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

LGTM with nit!

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM (modulo nit by Goutham)

Signed-off-by: Kyeongwon Seo <ruddnjs1230@gmail.com>
@kwSeo
Copy link
Contributor Author

kwSeo commented May 1, 2020

@pracucci @gouthamve
Thank you for review!
Renamed the Redis cache wait option.

@gouthamve gouthamve merged commit ac79665 into cortexproject:master May 2, 2020
@kwSeo kwSeo deleted the add_redis_flags branch May 2, 2020 14:15
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.

3 participants