aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-10 21:32:06 +0800
committerFelix Lange <fjl@twurst.com>2016-10-10 21:53:01 +0800
commita79977bc208b52e72ff412a7acef784ee61d8a80 (patch)
tree14363a76e71cb2a7183843d60dd8e536d3a90d46
parent794d2eb582644283ce1fe54f92715164e99ce49e (diff)
downloadgo-tangerine-a79977bc208b52e72ff412a7acef784ee61d8a80.tar
go-tangerine-a79977bc208b52e72ff412a7acef784ee61d8a80.tar.gz
go-tangerine-a79977bc208b52e72ff412a7acef784ee61d8a80.tar.bz2
go-tangerine-a79977bc208b52e72ff412a7acef784ee61d8a80.tar.lz
go-tangerine-a79977bc208b52e72ff412a7acef784ee61d8a80.tar.xz
go-tangerine-a79977bc208b52e72ff412a7acef784ee61d8a80.tar.zst
go-tangerine-a79977bc208b52e72ff412a7acef784ee61d8a80.zip
[release/1.4.17] core: lower transaction pool max queue limit
(cherry picked from commit 16d8397e30ea0e4d07a07f5c4416b8888daf9796)
-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
)