-
Notifications
You must be signed in to change notification settings - Fork 342
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
How about changing redis.Pool
to interface?
#149
Comments
https://pkg.go.dev/github.com/taylorchu/work?tab=doc#NewRedisQueue If you can use v2, please do so. It uses https://pkg.go.dev/github.com/go-redis/redis?tab=doc#UniversalClient, which includes sentinal and cluster. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As we use Redis cluster in our development, we're using redisc package to handle Redis cluster. But, as gocraft/work only receives
*redis.Pool
struct as a parameter,redisc
can't be passed. It can be done by changing the usages ofredis.Pool
to an interface.Or do you know anything about using Redis cluster of raidss with gocraft/work?
The text was updated successfully, but these errors were encountered: