Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
refactor(BUX-411): additional redis version comment note
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-4chain committed Dec 19, 2023
1 parent 0a04ed1 commit 584d09d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions taskmanager/taskq.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var mutex sync.Mutex
type TasqOps func(*taskq.QueueOptions)

// WithRedis will set the redis client for the TaskQ engine
// Note: Because we use redis/v8, we need to use Redis lower than 7.2.0
func WithRedis(addr string) TasqOps {
return func(queueOptions *taskq.QueueOptions) {
queueOptions.Redis = redis.NewClient(&redis.Options{
Expand Down

0 comments on commit 584d09d

Please sign in to comment.