aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-10 22:06:10 +0800
committerGitHub <noreply@github.com>2016-10-10 22:06:10 +0800
commit7943ecb81292c09d85abb2509f76fd3637810eca (patch)
tree35f5111343edd09ecd2aab5a7b7bae23658aedb1
parentc88e4357240d8c92d7866cb805781b792e166ec2 (diff)
parent16d8397e30ea0e4d07a07f5c4416b8888daf9796 (diff)
downloaddexon-7943ecb81292c09d85abb2509f76fd3637810eca.tar.gz
dexon-7943ecb81292c09d85abb2509f76fd3637810eca.tar.zst
dexon-7943ecb81292c09d85abb2509f76fd3637810eca.zip
Merge pull request #3117 from fjl/txpool-low-limit
core: lower transaction pool max queue limit
-rw-r--r--core/tx_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go
index 10a110e0b..4c9410d8e 100644
--- a/core/tx_pool.go
+++ b/core/tx_pool.go
@@ -47,7 +47,7 @@ var (
var (
maxQueuedPerAccount = uint64(64) // Max limit of queued transactions per address
- maxQueuedInTotal = uint64(65536) // Max limit of queued transactions from all accounts
+ maxQueuedInTotal = uint64(8192) // Max limit of queued transactions from all accounts
maxQueuedLifetime = 3 * time.Hour // Max amount of time transactions from idle accounts are queued
evictionInterval = time.Minute // Time interval to check for evictable transactions
)