refactor: increase consensus_updates batch limit to 50
This commit is contained in:
parent
d24b0322fb
commit
6b99aa5b2f
|
@ -35,7 +35,7 @@ const plugin: Plugin = {
|
||||||
throw new Error("count required and must be a number");
|
throw new Error("count required and must be a number");
|
||||||
}
|
}
|
||||||
|
|
||||||
request.count = Math.min(request.count, 5);
|
request.count = Math.min(request.count, 50);
|
||||||
|
|
||||||
if (!client.isSynced) {
|
if (!client.isSynced) {
|
||||||
await client.sync();
|
await client.sync();
|
||||||
|
|
Loading…
Reference in New Issue