Skip to content

Commit

Permalink
feat: unblock receive func
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Aug 9, 2024
1 parent e42b64e commit 1de81dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/pkg/dal/collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ func (c *Collector) Stop() {
}

func (c *Collector) receive(ctx context.Context) {
c.baseRediscribe.Start(ctx)
go c.baseRediscribe.Start(ctx)

if c.subRediscribe != nil {
c.subRediscribe.Start(ctx)
go c.subRediscribe.Start(ctx)
}
}

Expand Down

0 comments on commit 1de81dc

Please sign in to comment.