mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-07-03 07:36:45 +02:00
adjust visibility
This commit is contained in:
parent
dedfd31dfb
commit
0bf5424a2e
|
@ -45,7 +45,7 @@ func NewTopicPublisher(config *PublisherConfiguration) *TopicPublisher {
|
|||
wg := sync.WaitGroup{}
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
if err := tp.StartSchedulerThread(&wg); err != nil {
|
||||
if err := tp.startSchedulerThread(&wg); err != nil {
|
||||
log.Println(err)
|
||||
return
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ type EachPartitionPublishJob struct {
|
|||
generation int
|
||||
inputQueue *buffered_queue.BufferedQueue[*mq_pb.DataMessage]
|
||||
}
|
||||
func (p *TopicPublisher) StartSchedulerThread(wg *sync.WaitGroup) error {
|
||||
func (p *TopicPublisher) startSchedulerThread(wg *sync.WaitGroup) error {
|
||||
|
||||
if err := p.doEnsureConfigureTopic(); err != nil {
|
||||
return fmt.Errorf("configure topic %s: %v", p.config.Topic, err)
|
||||
|
|
Loading…
Reference in a new issue