@yolo-croket-dev/core 1.7.29 → 1.7.30-slowquery.0

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.
@@ -255,13 +255,13 @@ let RPCInterceptor = class RPCInterceptor {
255
255
  }
256
256
  }
257
257
  const sendMessage = Buffer.from(JSON.stringify(abstractAmqpHandlerData));
258
- if (!isAck) {
258
+ if (!isAck && !execInterceptor.isMessageAck) {
259
259
  channel.sendToQueue(message.properties.replyTo, sendMessage, { correlationId: message.properties.correlationId });
260
260
  }
261
261
  const messageContent = message.content.toString();
262
262
  /** 파일 객체 처리 */
263
263
  (0, functions_1.reWriteFileValue)((_a = messageContent === null || messageContent === void 0 ? void 0 : messageContent.data) === null || _a === void 0 ? void 0 : _a.file);
264
- if (!noAck && !isAck) {
264
+ if (!noAck && !isAck && !execInterceptor.isMessageAck) {
265
265
  channel.ack(message);
266
266
  execInterceptor.isMessageAck = true;
267
267
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/core",
3
- "version": "1.7.29",
3
+ "version": "1.7.30-slowquery.0",
4
4
  "author": "Yolo Co., Ltd.",
5
5
  "description": "Yolo commonization module",
6
6
  "main": "index.js",