Skip to content

[DEV-385/BE] feat: web client 응답 시간 제한 3분으로 증가#620

Merged
kckc0608 merged 2 commits intodevfrom
DEV-385/feat/web-client-응답-시간-제한-3분으로-해제
Feb 24, 2026

Hidden character warning

The head ref may contain hidden characters: "DEV-385/feat/web-client-\uc751\ub2f5-\uc2dc\uac04-\uc81c\ud55c-3\ubd84\uc73c\ub85c-\ud574\uc81c"
Merged

[DEV-385/BE] feat: web client 응답 시간 제한 3분으로 증가#620
kckc0608 merged 2 commits intodevfrom
DEV-385/feat/web-client-응답-시간-제한-3분으로-해제

Conversation

@kckc0608
Copy link
Collaborator

관련 이슈

close #619

작업한 내용

  • 질답 변환에 넉넉한 시간 제한을 두기 위해 3분으로 제한을 증가시킵니다.

PR 리뷰시 참고할 사항

참고 자료 (링크, 사진, 예시 코드 등)

@kckc0608 kckc0608 self-assigned this Feb 24, 2026
@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web-team4-refit Ready Ready Preview, Comment Feb 24, 2026 0:49am

@kckc0608 kckc0608 requested review from lja3723 and zxc534 and removed request for zxc534 February 24, 2026 12:46
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @kckc0608, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 질답 변환 프로세스에 필요한 시간을 확보하기 위해 시스템의 타임아웃 설정을 조정합니다. 특히, 웹 클라이언트의 외부 서비스 요청 타임아웃을 3분으로 늘려 안정적인 응답을 보장하고, 내부 질답 세트 변환 결과 타임아웃도 2분으로 확장하여 프로세스 완료에 충분한 시간을 제공합니다.

Highlights

  • 웹 클라이언트 타임아웃 증가: 웹 클라이언트의 외부 서비스 요청 타임아웃이 3분으로 증가되었습니다.
  • 질답 변환 타임아웃 조정: 질답 세트 변환 결과에 대한 내부 타임아웃 상수가 2분으로 조정되었습니다.
  • 로깅 메시지 개선: RawTextConvertAsyncService에서 비동기 요청 전송 로깅 메시지가 명확성을 위해 업데이트되었습니다.
Changelog
  • backend/src/main/java/com/shyashyashya/refit/domain/interview/constant/InterviewConstant.java
    • 질답 세트 변환 결과 타임아웃 상수를 30초에서 120초로 업데이트했습니다.
  • backend/src/main/java/com/shyashyashya/refit/domain/interview/service/RawTextConvertAsyncService.java
    • 비동기 요청 전송 로깅 메시지를 명확하게 수정했습니다.
  • backend/src/main/resources/application-gemini.yml
    • 웹 클라이언트 요청 타임아웃을 30초에서 180초로 증가시켰습니다.
Activity
  • 이 PR에 대한 활동은 아직 없습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이 PR은 질답 변환에 더 긴 처리 시간을 허용하기 위해 웹 클라이언트의 응답 시간 제한을 3분으로 늘리는 것을 목표로 합니다. 변경 사항에는 application-gemini.yml의 설정 값과 관련 상수를 업데이트하는 내용이 포함되어 있습니다. 웹 클라이언트의 시간 제한은 180초로 올바르게 설정되었지만, 관련된 다른 시간 제한 상수가 2분으로 설정된 불일치를 발견했습니다. 이는 클라이언트에서 조기 타임아웃을 유발할 수 있습니다. 이 불일치를 해결하기 위한 리뷰 의견을 남겼습니다.

public static final int RAW_TEXT_MAX_LENGTH = 10_000;
public static final int KPT_TEXT_MAX_LENGTH = 8_000;
public static final long QNA_SET_CONVERT_RESULT_TIMEOUT_MILLISECONDS = 30_000L;
public static final long QNA_SET_CONVERT_RESULT_TIMEOUT_MILLISECONDS = 120_000L;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

PR 제목과 application-gemini.yml 변경 내용에 따르면 타임아웃을 3분(180초)으로 설정하려는 것으로 보입니다. 하지만 이 상수는 120,000ms (2분)으로 설정되어 있습니다. WebClient 요청의 타임아웃은 3분인데, 이 상수가 사용될 가능성이 있는 DeferredResult의 타임아웃이 2분이므로 클라이언트 요청이 백엔드 작업이 완료되기도 전에 타임아웃될 수 있습니다. 일관성을 유지하고 조기 타임아웃을 방지하기 위해 이 값도 3분으로 설정하는 것이 좋겠습니다.

Suggested change
public static final long QNA_SET_CONVERT_RESULT_TIMEOUT_MILLISECONDS = 120_000L;
public static final long QNA_SET_CONVERT_RESULT_TIMEOUT_MILLISECONDS = 180_000L;

@kckc0608 kckc0608 merged commit ce1f494 into dev Feb 24, 2026
2 of 3 checks passed
@forhyundaisofteer forhyundaisofteer deleted the DEV-385/feat/web-client-응답-시간-제한-3분으로-해제 branch February 25, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DEV-385/BE] feat: web client 응답 시간 제한 3분으로 해제

1 participant