File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
require (
6
6
github.com/go-redis/redis/v8 v8.11.3
7
- github.com/golang-queue/queue v0.0.13-0.20220408035349-ed24fa14aa00
7
+ github.com/golang-queue/queue v0.0.13-0.20220423074840-a2e1b18a04ae
8
8
github.com/stretchr/testify v1.7.1
9
9
go.uber.org/goleak v1.1.12
10
10
)
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4
11
11
github.com/go-redis/redis/v8 v8.11.3 h1:GCjoYp8c+yQTJfc0n69iwSiHjvuAdruxl7elnZCxgt8 =
12
12
github.com/go-redis/redis/v8 v8.11.3 /go.mod h1:xNJ9xDG09FsIPwh3bWdk+0oDWHbtF9rPN0F/oD9XeKc =
13
13
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 /go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE =
14
- github.com/golang-queue/queue v0.0.13-0.20220408035349-ed24fa14aa00 h1:EFiINOvAuGgxiE3MNu7PKY0O2Pvvc7r6YApdqAnhWnQ =
15
- github.com/golang-queue/queue v0.0.13-0.20220408035349-ed24fa14aa00 /go.mod h1:g1yxxDl8JMo4gUfxt11fjjU3SXU1ah61EvwshmDoSIs =
14
+ github.com/golang-queue/queue v0.0.13-0.20220423074840-a2e1b18a04ae h1:LHyA1IaDD9hNm8S/pGql0yebtbMCC7XTBB7zMRqyU70 =
15
+ github.com/golang-queue/queue v0.0.13-0.20220423074840-a2e1b18a04ae /go.mod h1:g1yxxDl8JMo4gUfxt11fjjU3SXU1ah61EvwshmDoSIs =
16
16
github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc =
17
17
github.com/golang/mock v1.6.0 /go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs =
18
18
github.com/golang/protobuf v1.2.0 /go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U =
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ func newOptions(opts ...Option) options {
89
89
defaultOpts := options {
90
90
addr : "127.0.0.1:6379" ,
91
91
channelName : "queue" ,
92
- channelSize : 1024 ,
92
+ // default channel size in go-redis package
93
+ channelSize : 100 ,
93
94
logger : queue .NewLogger (),
94
95
runFunc : func (context.Context , core.QueuedMessage ) error {
95
96
return nil
You can’t perform that action at this time.
0 commit comments