Skip to content

Commit

Permalink
feat: update buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Jul 30, 2024
1 parent 2c5ec0f commit d24eeed
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 @@ -76,8 +76,8 @@ func NewCollector(ctx context.Context, configs []types.Config) (*Collector, erro
}

for _, config := range configs {
collector.IncomingStream[config.ID] = make(chan aggregator.SubmissionData)
collector.OutgoingStream[config.ID] = make(chan dalcommon.OutgoingSubmissionData)
collector.IncomingStream[config.ID] = make(chan aggregator.SubmissionData, 1000)
collector.OutgoingStream[config.ID] = make(chan dalcommon.OutgoingSubmissionData, 1000)
collector.Symbols[config.ID] = config.Name
collector.FeedHashes[config.ID] = crypto.Keccak256([]byte(config.Name))
}
Expand Down

0 comments on commit d24eeed

Please sign in to comment.