-
-
Notifications
You must be signed in to change notification settings - Fork 701
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
[FEATURE REQUEST] Support custom Redis cache key or prefix #725
Comments
Is it possible to make Line 107 in 6b98c0b
Line 181 in 6b98c0b
Line 186 in 6b98c0b
Line 191 in 6b98c0b
Line 196 in 6b98c0b
|
You could use different redis db id/number (namespace) and create multiple lightweight go-redis connection pools for each of them. |
redis cluster mode can not select db |
Is your feature request related to a problem? Please describe.
The asynq queue uses
asynq
as the RedisKey prefix. If my redis has multiple asynq service tasks, all of them will be merged. I hope thatcustom key
orcustom key:asynq
can be used as a prefix to distinguish different ones ServeDescribe the solution you'd like
I hope that the configuration can customize the redis key prefix
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: