From 99be561a88df2332e280ec0fccc018dcb32678ee Mon Sep 17 00:00:00 2001 From: Jaco Date: Wed, 1 Jun 2022 22:37:19 +0200 Subject: [PATCH] Adjust storage combination queue size (#4886) * Adjust storage combination queue size * 25 --- packages/api/src/base/Decorate.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/src/base/Decorate.ts b/packages/api/src/base/Decorate.ts index a78079b7c6..d8e409ab90 100644 --- a/packages/api/src/base/Decorate.ts +++ b/packages/api/src/base/Decorate.ts @@ -43,8 +43,8 @@ interface FullDecoration { // the max amount of keys/values that we will retrieve at once const PAGE_SIZE_K = 1000; // limit aligned with the 1k on the node (trie lookups are heavy) -const PAGE_SIZE_V = 250; // limited since the data may be very large (e.g. misfiring elections) -const PAGE_SIZE_Q = 10; // queue of storage entry queries, mapped together +const PAGE_SIZE_V = 250; // limited since the data may be > 16MB (e.g. misfiring elections) +const PAGE_SIZE_Q = 25; // queue of pending storage queries (mapped together, next tick) const l = logger('api/init');