We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. Steps to reproduce
client := asynq.NewClient(asynq.RedisClusterClientOpt{ Addrs: []string{"localhost:7000", "localhost:7001", "localhost:7002", "localhost:7003", "localhost:7004", "localhost:7005"}, }) defer client.Close() // ------------------------------------------------------ // Example 1: Enqueue task to be processed immediately. // Use (*Client).Enqueue method. // ------------------------------------------------------ task, err := tasks.NewEmailDeliveryTask(42, "some:template:id") if err != nil { log.Fatalf("could not create task: %v", err) } queues := []string{"q_1", "q_2", "q_3", "q_4"} for i := 0; i < 10000; i++ { que := queues[i%4] info, err := client.Enqueue(task, asynq.Queue(que)) if err != nil { log.Fatalf("could not enqueue task: %v %s", err, que) } log.Printf("enqueued task: id=%s queue=%s", info.ID, info.Queue) }
Describe the solution you'd like Seems to be related to the redis/v8 library results in error link Upgrading to redis/v9 might solve this?
error: SADD failed: got 4 elements in cluster info address, expected 2 or 3
Additional context Following the steps above to figure out how to use asynq
The text was updated successfully, but these errors were encountered:
go-redis/v9 is not backward compatible afaik. This would be a breaking change.
Sorry, something went wrong.
redis/go-redis#2241
^ Relevant discussion.
Might need some testing with redis v6 and v7 with go-redis v9. If it passes, we could use go-redis v9.
Related to #602
hibiken
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Steps to reproduce
Describe the solution you'd like
Seems to be related to the redis/v8 library results in error link
Upgrading to redis/v9 might solve this?
Additional context
Following the steps above to figure out how to use asynq
The text was updated successfully, but these errors were encountered: