@yolo-croket-dev/core 1.7.18-slowquery.0 → 1.7.18-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.
@@ -347,6 +347,13 @@ let RPCInterceptor = class RPCInterceptor {
347
347
  }
348
348
  },
349
349
  error: localErrorProcessor,
350
+ }), (0, operators_1.catchError)(async (err) => {
351
+ // timeout 에러 처리
352
+ msaLogger.error('Timeout occurred, requeuing message', { traceId: execInterceptor.traceId }, { error: err });
353
+ // 메시지를 Requeue
354
+ channel.nack(message, false, true);
355
+ // 에러를 다시 throw하여 상위에서 처리할 수 있도록 함
356
+ throw err;
350
357
  }), (0, operators_1.finalize)(() => {
351
358
  this.gracefulShutdownService.popActiveInterceptors(execInterceptor);
352
359
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/core",
3
- "version": "1.7.18-slowquery.0",
3
+ "version": "1.7.18-slowquery.1",
4
4
  "author": "Yolo Co., Ltd.",
5
5
  "description": "Yolo commonization module",
6
6
  "main": "index.js",