@mojaloop/sdk-scheme-adapter 24.9.8-snapshot.6 → 24.9.8-snapshot.9
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.
|
@@ -283,6 +283,9 @@ class Server extends EventEmitter {
|
|
|
283
283
|
this.logger.isDebugEnabled && this.logger.push({ oldConf: this.conf.inbound, newConf: newConf.inbound }).debug('Inbound server configuration');
|
|
284
284
|
const updateInboundServer = this._shouldUpdateInboundServer(newConf);
|
|
285
285
|
if (updateInboundServer) {
|
|
286
|
+
const stopStartLabel = 'InboundServer stop/start duration';
|
|
287
|
+
// eslint-disable-next-line no-console
|
|
288
|
+
console.time(stopStartLabel);
|
|
286
289
|
await this.inboundServer.stop();
|
|
287
290
|
this.inboundServer = new InboundServer(
|
|
288
291
|
newConf,
|
|
@@ -296,12 +299,17 @@ class Server extends EventEmitter {
|
|
|
296
299
|
this.emit('error', errMessage);
|
|
297
300
|
});
|
|
298
301
|
await this.inboundServer.start();
|
|
302
|
+
// eslint-disable-next-line no-console
|
|
303
|
+
console.timeEnd(stopStartLabel);
|
|
299
304
|
restartActionsTaken.updateInboundServer = true;
|
|
300
305
|
}
|
|
301
306
|
|
|
302
307
|
this.logger.isDebugEnabled && this.logger.push({ oldConf: this.conf.outbound, newConf: newConf.outbound }).debug('Outbound server configuration');
|
|
303
308
|
const updateOutboundServer = this._shouldUpdateOutboundServer(newConf);
|
|
304
309
|
if (updateOutboundServer) {
|
|
310
|
+
const stopStartLabel = 'OutboundServer stop/start duration';
|
|
311
|
+
// eslint-disable-next-line no-console
|
|
312
|
+
console.time(stopStartLabel);
|
|
305
313
|
await this.outboundServer.stop();
|
|
306
314
|
this.outboundServer = new OutboundServer(
|
|
307
315
|
newConf,
|
|
@@ -316,6 +324,8 @@ class Server extends EventEmitter {
|
|
|
316
324
|
this.emit('error', errMessage);
|
|
317
325
|
});
|
|
318
326
|
await this.outboundServer.start();
|
|
327
|
+
// eslint-disable-next-line no-console
|
|
328
|
+
console.timeEnd(stopStartLabel);
|
|
319
329
|
restartActionsTaken.updateOutboundServer = true;
|
|
320
330
|
}
|
|
321
331
|
|
|
@@ -410,6 +420,8 @@ class Server extends EventEmitter {
|
|
|
410
420
|
}
|
|
411
421
|
|
|
412
422
|
this.conf = newConf;
|
|
423
|
+
this.conf.peerJWSKeys = newConf?.peerJWSKeys;
|
|
424
|
+
this.conf.jwsSigningKey = newConf?.jwsSigningKey;
|
|
413
425
|
|
|
414
426
|
await oldCache?.disconnect();
|
|
415
427
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/sdk-scheme-adapter-outbound-command-event-handler",
|
|
3
|
-
"version": "0.3.0-snapshot.
|
|
3
|
+
"version": "0.3.0-snapshot.44",
|
|
4
4
|
"description": "Mojaloop sdk scheme adapter command event handler",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/mojaloop/sdk-scheme-adapter/",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/sdk-scheme-adapter-outbound-domain-event-handler",
|
|
3
|
-
"version": "0.3.0-snapshot.
|
|
3
|
+
"version": "0.3.0-snapshot.44",
|
|
4
4
|
"description": "mojaloop sdk scheme adapter outbound domain event handler",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/mojaloop/sdk-scheme-adapter/",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/sdk-scheme-adapter-private-shared-lib",
|
|
3
|
-
"version": "0.4.0-snapshot.
|
|
3
|
+
"version": "0.4.0-snapshot.44",
|
|
4
4
|
"description": "SDK Scheme Adapter private shared library.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/mojaloop/accounts-and-balances-bc/tree/main/modules/private-types",
|
package/package.json
CHANGED