mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 16:53:14 +08:00
avoid nil stopChan
This commit is contained in:
@@ -24,6 +24,7 @@ func NewConsumerGroup(t *mq_pb.Topic, reblanceSeconds int32, filerClientAccessor
|
||||
topic: topic.FromPbTopic(t),
|
||||
ConsumerGroupInstances: cmap.New[*ConsumerGroupInstance](),
|
||||
filerClientAccessor: filerClientAccessor,
|
||||
stopCh: make(chan struct{}),
|
||||
}
|
||||
if conf, err := cg.filerClientAccessor.ReadTopicConfFromFiler(cg.topic); err == nil {
|
||||
var partitions []topic.Partition
|
||||
|
||||
Reference in New Issue
Block a user