@yolo-croket-dev/core 1.7.45-slowquery.0 → 1.7.45-slowquery.1

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.
@@ -365,7 +365,16 @@ let RPCInterceptor = class RPCInterceptor {
365
365
  msaLogger.debug('RPCInterceptor context end', { traceId: execInterceptor.traceId }, { context: context.requestId });
366
366
  }
367
367
  functions_1.AbortContext.endContext();
368
- functions_1.AbortContext.disable();
368
+ // Promise 체인이 완전히 완료될 때까지 지연 후 disable
369
+ // setTimeout으로 여러 번 이벤트 루프를 통과시켜서 모든 Promise.then() 체인이 완료되도록 함
370
+ setTimeout(() => {
371
+ setTimeout(() => {
372
+ setTimeout(() => {
373
+ console.log('RPCInterceptor context disable');
374
+ functions_1.AbortContext.disable();
375
+ }, 0);
376
+ }, 0);
377
+ }, 0);
369
378
  }
370
379
  return rxjs_1.EMPTY;
371
380
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/core",
3
- "version": "1.7.45-slowquery.0",
3
+ "version": "1.7.45-slowquery.1",
4
4
  "author": "Yolo Co., Ltd.",
5
5
  "description": "Yolo commonization module",
6
6
  "main": "index.js",