Adjust storage combination queue size (#4886)

* Adjust storage combination queue size

* 25
This commit is contained in:
Jaco
2022-06-01 23:37:19 +03:00
committed by GitHub
parent 871429b726
commit 99be561a88
+2 -2
View File
@@ -43,8 +43,8 @@ interface FullDecoration<ApiType extends ApiTypes> {
// 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');