Open shuqingzai opened 1 year ago
Is it possible to make asynq
in the following func into config options, allowing users to customize, the default is: asynq
@hibiken
my redis has multiple asynq service tasks
You could use different redis db id/number (namespace) and create multiple lightweight go-redis connection pools for each of them.
See: https://github.com/hibiken/asynq/pull/647
We ended up forking because we needed the prefix and Redis Cluster support in the CLI.
我的redis有多个asynq服务任务
您可以使用不同的 redis db id/number(命名空间)并为每个数据库创建多个轻量级 go-redis 连接池。
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.