@yolo-croket-dev/core 1.4.53-slowquery.10 → 1.4.53-slowquery.11

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.
@@ -46,7 +46,7 @@ let GracefulShutdownService = class GracefulShutdownService {
46
46
  }
47
47
  popActiveInterceptors(execInterceptor) {
48
48
  // eslint-disable-next-line max-len
49
- this.activeInterceptors = this.activeInterceptors.filter((item) => item.method === execInterceptor.method && item.traceId === execInterceptor.traceId && item.correlationId === execInterceptor.correlationId);
49
+ this.activeInterceptors = this.activeInterceptors.filter((item) => !(item.method === execInterceptor.method && item.traceId === execInterceptor.traceId && item.correlationId === execInterceptor.correlationId));
50
50
  }
51
51
  async onApplicationShutdown(signal) {
52
52
  console.debug(`GracefulShutdownService.onApplicationShutdown signal=${signal}`, { traceId: 'ON_APPLICATION_SHUTDOWN' });
@@ -65,9 +65,9 @@ let GracefulShutdownService = class GracefulShutdownService {
65
65
  if (prevExecInterceptorCount !== this.activeInterceptors.length) {
66
66
  prevExecInterceptorCount = this.activeInterceptors.length;
67
67
  // eslint-disable-next-line max-len
68
- console.log(`GracefulShutdownService.onModuleDestroy: waiting for ${this.activeInterceptors} interceptors to finish`, { traceId: 'ON_MODULE_DESTROY' }, { activeInterceptors: this.activeInterceptors });
68
+ console.log('GracefulShutdownService.onModuleDestroy: waiting for interceptors to finish', { traceId: 'ON_MODULE_DESTROY' }, { activeInterceptors: this.activeInterceptors });
69
69
  // eslint-disable-next-line max-len
70
- msaLogger.debug(`GracefulShutdownService.onModuleDestroy: waiting for ${this.activeInterceptors} interceptors to finish`, { traceId: 'ON_MODULE_DESTROY' }, { activeInterceptors: this.activeInterceptors });
70
+ msaLogger.debug('GracefulShutdownService.onModuleDestroy: waiting for interceptors to finish', { traceId: 'ON_MODULE_DESTROY' }, { activeInterceptors: this.activeInterceptors });
71
71
  }
72
72
  await new Promise((resolve) => {
73
73
  setTimeout(resolve, 1000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/core",
3
- "version": "1.4.53-slowquery.10",
3
+ "version": "1.4.53-slowquery.11",
4
4
  "author": "Yolo Co., Ltd.",
5
5
  "description": "Yolo commonization module",
6
6
  "main": "index.js",