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

2rd PR for reporting health check failure if there is no active redis connection #308

Closed
wants to merge 0 commits into from

Conversation

debbyku
Copy link
Contributor

@debbyku debbyku commented Oct 23, 2021

Please refer to #297

var perSecondPool Client
if s.RedisPerSecond {
perSecondPool = NewClientImpl(srv.Scope().Scope("redis_per_second_pool"), s.RedisPerSecondTls, s.RedisPerSecondAuth, s.RedisPerSecondSocketType,
s.RedisPerSecondType, s.RedisPerSecondUrl, s.RedisPerSecondPoolSize, s.RedisPerSecondPipelineWindow, s.RedisPerSecondPipelineLimit, s.RedisTlsConfig)
s.RedisPerSecondType, s.RedisPerSecondUrl, s.RedisPerSecondPoolSize, s.RedisPerSecondPipelineWindow, s.RedisPerSecondPipelineLimit, s.RedisTlsConfig, healthCheckActiveConnection, srv)
Copy link
Member

Choose a reason for hiding this comment

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

can't we reference s.RedisHealthCheckActiveConnection instead of introducing new healthCheckActiveConnection arg to this function?

Copy link
Member

@ysawa0 ysawa0 left a comment

Choose a reason for hiding this comment

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

thanks, lgtm! just missing DCO now.

@debbyku
Copy link
Contributor Author

debbyku commented Oct 28, 2021

@ysawa0 very sorry that it is quite difficult for me to do the DCO

git rebase HEAD~21 --signoff

it includes other PR merged codes, I am afraid I will do something wrong on it.

Not sure what is the best way to do it

@ysawa0
Copy link
Member

ysawa0 commented Oct 29, 2021

The DCO is required I believe so you would need to start a new branch off latest and commit on top of that to fix

@debbyku
Copy link
Contributor Author

debbyku commented Oct 29, 2021 via email

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.

2 participants