Skip to content

Commit

Permalink
Set filteredUpdateChannel size to maxSubscriptionChannelSize
Browse files Browse the repository at this point in the history
  • Loading branch information
UnbornAztecKing committed Jan 10, 2025
1 parent 97d08ce commit 457459b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/streaming/full_node_streaming_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (sm *FullNodeStreamingManagerImpl) Subscribe(
),
)
} else {
filteredUpdateChannel = make(chan []clobtypes.StreamUpdate)
filteredUpdateChannel = make(chan []clobtypes.StreamUpdate, sm.maxSubscriptionChannelSize)
defer close(filteredUpdateChannel)
go subscription.FilterSubaccountStreamUpdates(filteredUpdateChannel, sm.logger)
}
Expand Down

0 comments on commit 457459b

Please sign in to comment.