Merge pull request #2760 from nspcc-dev/net42

network: it is 42
This commit is contained in:
Roman Khimov 2022-10-24 21:23:01 +07:00 committed by GitHub
commit 4313b7f0c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1580,7 +1580,7 @@ func (s *Server) initStaleMemPools() {
func (s *Server) broadcastTxLoop() {
const (
batchTime = time.Millisecond * 50
batchSize = 32
batchSize = 42
)
txs := make([]util.Uint256, 0, batchSize)