new(all): Paralel bot loading.
This commit is contained in:
parent
ba65eaf201
commit
9fa736918f
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ export class GBMinService {
|
||||||
this.bar1.start(instances.length, i, { botId: "Boot" });
|
this.bar1.start(instances.length, i, { botId: "Boot" });
|
||||||
|
|
||||||
const throttledPromiseAll = async (promises) => {
|
const throttledPromiseAll = async (promises) => {
|
||||||
const MAX_IN_PROCESS = 7;
|
const MAX_IN_PROCESS = 15;
|
||||||
const results = new Array(promises.length);
|
const results = new Array(promises.length);
|
||||||
|
|
||||||
async function doBlock(startIndex) {
|
async function doBlock(startIndex) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue