Skip to content

Commit

Permalink
batchSize: Address Nishant's comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
nalepae committed Sep 3, 2024
1 parent 5e2af9f commit 0b39d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/p2p/subnets.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (s *Service) FindPeersWithSubnet(
index uint64,
threshold int,
) (bool, error) {
const batchSize = 200
const batchSize = 2000

ctx, span := trace.StartSpan(ctx, "p2p.FindPeersWithSubnet")
defer span.End()
Expand Down

0 comments on commit 0b39d26

Please sign in to comment.