We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 274fa65 commit 2715fbaCopy full SHA for 2715fba
backend/redis/queue.go
@@ -59,7 +59,7 @@ func newTaskQueue[T any](rdb redis.UniversalClient, tasktype string) (*taskQueue
59
}
60
61
// Create the consumer group
62
- _, err := createGroupCmd.Run(context.Background(), rdb, []string{tq.streamKey, tq.groupName}).Result()
+ err := createGroupCmd.Run(context.Background(), rdb, []string{tq.streamKey, tq.groupName}).Err()
63
if err != nil {
64
return nil, fmt.Errorf("creating task queue: %w", err)
65
0 commit comments