vona-module-a-startup 5.0.29 → 5.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,10 +37,13 @@ let ServiceStartup = (_dec$3 = Service(), _dec2$3 = BeanInfo({
|
|
|
37
37
|
await this._appReadyInstanceStartup('', true);
|
|
38
38
|
} else {
|
|
39
39
|
// only start static instances (defined in config)
|
|
40
|
-
for (const
|
|
40
|
+
for (const key in this.app.config.instance.instances) {
|
|
41
|
+
const instanceName = key;
|
|
42
|
+
const configInstanceBase = this.app.config.instance.instances[instanceName];
|
|
43
|
+
if (configInstanceBase === false) continue;
|
|
41
44
|
// need not await for prod
|
|
42
45
|
const wait = this.app.config.server.listen.disable;
|
|
43
|
-
await this._appReadyInstanceStartup(
|
|
46
|
+
await this._appReadyInstanceStartup(instanceName, wait);
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
|