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

Allow FIFO pool in redis client #1820

Merged
merged 4 commits into from Jul 16, 2021
Merged

Conversation

ktaekwon000
Copy link
Contributor

Linked issue: #1819

Allows the user to choose between fifo and lifo pool via passing in the PoolType variable into redis.Options.

options.go Outdated Show resolved Hide resolved
@@ -11,6 +11,8 @@ import (
"github.com/go-redis/redis/v8/internal"
)

type PoolFIFO bool
Copy link
Collaborator

Choose a reason for hiding this comment

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

It seems redundant

@monkey92t
Copy link
Collaborator

Other clients, we should also add it, for example: cluster, ring, sentinel, universal...

Kim Tae Kwon and others added 2 commits July 15, 2021 16:33
Signed-off-by: monkey92t <golang@88.com>
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.

None yet

3 participants