Adjust storage combination queue size (#4886)
* Adjust storage combination queue size * 25
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user