summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichaeldiamant <michaeldiamant@users.noreply.github.com>2022-09-16 20:48:51 -0400
committermichaeldiamant <michaeldiamant@users.noreply.github.com>2022-09-16 20:48:51 -0400
commitb1719c292b09018d5acdedf7d0765424cd7c3fa0 (patch)
treecf69583375586697494ad74ef45cef758e8020b4
parent64c313f72b069658a350d78570da96f8c0417743 (diff)
parentc2acf87a699e136098e1acf114879039d37eafd6 (diff)
Merge remote-tracking branch 'algoidurovic/cache_reduction' into feature/avm-box_cache_reductionfeature/avm-box_cache_reduction
-rw-r--r--ledger/acctupdates.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ledger/acctupdates.go b/ledger/acctupdates.go
index 21f49e626..fc0598ea6 100644
--- a/ledger/acctupdates.go
+++ b/ledger/acctupdates.go
@@ -61,12 +61,12 @@ const baseAccountsPendingAccountsWarnThreshold = 85000
// baseResourcesPendingAccountsBufferSize defines the size of the base resources pending accounts buffer size.
// At the beginning of a new round, the entries from this buffer are being flushed into the base resources map.
-const baseResourcesPendingAccountsBufferSize = 100000
+const baseResourcesPendingAccountsBufferSize = 10000
// baseResourcesPendingAccountsWarnThreshold defines the threshold at which the lruResources would generate a warning
// after we've surpassed a given pending account resources size. The warning is being generated when the pending accounts data
// is being flushed into the main base resources cache.
-const baseResourcesPendingAccountsWarnThreshold = 85000
+const baseResourcesPendingAccountsWarnThreshold = 8500
// baseKVPendingBufferSize defines the size of the base KVs pending buffer size.
// At the beginning of a new round, the entries from this buffer are being flushed into the base KVs map.