new(all): Custom Domain support per bot.
This commit is contained in:
parent
b50735236d
commit
8dbcb4ef27
1 changed files with 3 additions and 3 deletions
|
@ -172,14 +172,14 @@ export class GBMinService {
|
||||||
// Calls mountBot event to all bots.
|
// Calls mountBot event to all bots.
|
||||||
|
|
||||||
const bar1 = new cliProgress.SingleBar({
|
const bar1 = new cliProgress.SingleBar({
|
||||||
format: '[{bar}] {botId} {value}/{total}'
|
format: '[{bar}] Loading {botId} ({value}/{total})... .\n', barsize:60
|
||||||
}, cliProgress.Presets.shades_classic);
|
}, cliProgress.Presets.rect);
|
||||||
let i = 0;
|
let i = 0;
|
||||||
bar1.start(100, i, {botId: "Boot"});
|
bar1.start(100, i, {botId: "Boot"});
|
||||||
|
|
||||||
await CollectionUtil.asyncForEach(instances, async instance => {
|
await CollectionUtil.asyncForEach(instances, async instance => {
|
||||||
try {
|
try {
|
||||||
bar1.update(i, {botId: instance.botId});
|
bar1.update(i, {botId: instance.botId, value:i, total:instances.length});
|
||||||
|
|
||||||
await this.mountBot(instance);
|
await this.mountBot(instance);
|
||||||
GBDeployer.mountGBKBAssets(`${instance.botId}.gbkb`,
|
GBDeployer.mountGBKBAssets(`${instance.botId}.gbkb`,
|
||||||
|
|
Loading…
Add table
Reference in a new issue