@onlineapps/service-wrapper 2.3.5 → 2.3.6
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/package.json +1 -1
- package/src/ServiceWrapper.js +1 -4
package/package.json
CHANGED
package/src/ServiceWrapper.js
CHANGED
|
@@ -1407,10 +1407,7 @@ class ServiceWrapper {
|
|
|
1407
1407
|
logger: this.logger
|
|
1408
1408
|
});
|
|
1409
1409
|
|
|
1410
|
-
const timeout = this.config.wrapper?.timeout;
|
|
1411
|
-
if (!timeout || typeof timeout !== 'number') {
|
|
1412
|
-
throw new Error('[ServiceWrapper] config.wrapper.timeout is required — Expected number (ms)');
|
|
1413
|
-
}
|
|
1410
|
+
const timeout = this.config.wrapper?.timeout || 30000;
|
|
1414
1411
|
|
|
1415
1412
|
this.orchestrator = OrchestratorConnector.create({
|
|
1416
1413
|
mqClient: this.mqClient,
|