Commit 03b11a8 1 parent 706e97b commit 03b11a8 Copy full SHA for 03b11a8
File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ func (rc *RedisConfig) Init() error {
30
30
}
31
31
32
32
if rc .StreamGroup == "" {
33
- rc .StreamGroup = "disq: "
33
+ rc .StreamGroup = "disq"
34
34
}
35
35
36
36
if rc .Concurency == 0 {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ func NewList(cfg *RedisConfig) disq.Broker {
38
38
}
39
39
broker := & List {
40
40
Redis : cfg .Redis ,
41
- list : cfg .Name + ":list" ,
41
+ list : "disq:" + "{" + cfg .Name + ":list" ,
42
42
opts : cfg ,
43
43
consumerName : disq .ConsumerName (),
44
44
buffer : make (chan * disq.Message , cfg .BufferSize ),
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ func NewStream(cfg *RedisConfig) disq.Broker {
44
44
}
45
45
broker := & Stream {
46
46
Redis : cfg .Redis ,
47
- zset : cfg .Name + ":zset" ,
48
- stream : cfg .Name + ":stream" ,
47
+ zset : "disq:" + "{" + cfg .Name + "} :zset" ,
48
+ stream : "disq:" + "{" + cfg .Name + "} :stream" ,
49
49
streamGroup : cfg .StreamGroup ,
50
50
consumerName : disq .ConsumerName (),
51
51
opts : cfg ,
You can’t perform that action at this time.
0 commit comments