Skip to content

Commit 7943ecb

Browse files
authored
Merge pull request bnb-chain#3117 from fjl/txpool-low-limit
core: lower transaction pool max queue limit
2 parents c88e435 + 16d8397 commit 7943ecb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/tx_pool.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var (
4747

4848
var (
4949
maxQueuedPerAccount = uint64(64) // Max limit of queued transactions per address
50-
maxQueuedInTotal = uint64(65536) // Max limit of queued transactions from all accounts
50+
maxQueuedInTotal = uint64(8192) // Max limit of queued transactions from all accounts
5151
maxQueuedLifetime = 3 * time.Hour // Max amount of time transactions from idle accounts are queued
5252
evictionInterval = time.Minute // Time interval to check for evictable transactions
5353
)

0 commit comments

Comments
 (0)