@yolo-croket-dev/core 1.7.13-slowquery.0 → 1.7.13

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.
@@ -160,7 +160,7 @@ let RPCInterceptor = class RPCInterceptor {
160
160
  if (this.gracefulShutdownService.isApplicationExit) {
161
161
  msaLogger.debug('RPCInterceptor isApplicationExit called', { traceId: 'IS_APPLICATION_EXIT' });
162
162
  channel.cancel(message.fields.consumerTag);
163
- return rxjs_1.EMPTY;
163
+ return new rxjs_1.Observable();
164
164
  }
165
165
  if (!staticRetryCount && reDeliveryCount > 0) {
166
166
  // 직접 메시지가 재시도 처리가 된 경우에는 로그만 남기고 처리하지 않음
@@ -184,7 +184,7 @@ let RPCInterceptor = class RPCInterceptor {
184
184
  })), { correlationId: message.properties.correlationId });
185
185
  channel.nack(message, false, false); /** 아마도 기본 30분 타임아웃이 지나고 새로 들어오면 발생할 예정, DLQ로 이동 */
186
186
  message.properties.replyTo = undefined; /** replyTo가 존재하면 sendToQueue가 호출되므로, 삭제해주기 */
187
- return rxjs_1.EMPTY;
187
+ return new rxjs_1.Observable();
188
188
  }
189
189
  }
190
190
  const noAck = message.fields.routingKey.includes('ASYNC');
@@ -252,7 +252,7 @@ let RPCInterceptor = class RPCInterceptor {
252
252
  if (!noAck && !isAck) {
253
253
  channel.ack(message);
254
254
  }
255
- return rxjs_1.EMPTY;
255
+ return new rxjs_1.Observable();
256
256
  };
257
257
  localErrorProcessor = localErrorProcessor.bind(this);
258
258
  /** 파일 객체 처리 */
@@ -273,7 +273,7 @@ let RPCInterceptor = class RPCInterceptor {
273
273
  }
274
274
  catch (err) {
275
275
  await localErrorProcessor(err);
276
- return rxjs_1.EMPTY;
276
+ return new rxjs_1.Observable();
277
277
  }
278
278
  }
279
279
  if (content.pattern === 'UPLOAD_FILE') {
@@ -35,6 +35,8 @@ export interface AbstractParam {
35
35
  from?: string;
36
36
  froms?: string[];
37
37
  legacyReqInfo?: unknown;
38
+ /** 시간 제한 (현재 amqp-client 에서만 사용) */
39
+ timeout?: number;
38
40
  }
39
41
  export interface File {
40
42
  [key: string]: FileValue | FileValue[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/core",
3
- "version": "1.7.13-slowquery.0",
3
+ "version": "1.7.13",
4
4
  "author": "Yolo Co., Ltd.",
5
5
  "description": "Yolo commonization module",
6
6
  "main": "index.js",