Skip to content

Commit

Permalink
chore(queue): add size param for redis queue engine (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
alandevelop authored Jul 17, 2024
1 parent 4831a23 commit 0199ac4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ func main() {
redisdb.WithStreamName(cfg.Queue.Redis.StreamName),
redisdb.WithGroup(cfg.Queue.Redis.Group),
redisdb.WithConsumer(cfg.Queue.Redis.Consumer),
redisdb.WithMaxLength(cfg.Core.QueueNum),
redisdb.WithRunFunc(notify.Run(cfg)),
redisdb.WithLogger(logx.QueueLogger()),
)
Expand Down

0 comments on commit 0199ac4

Please sign in to comment.