Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix/reissue api exception]: 토큰 만료 시 Exception 발생 수정 #287

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

kez-lab
Copy link
Member

@kez-lab kez-lab commented Jan 25, 2025

작업 사항

  • 원인:
    • api 호출이 동시 다발적으로 발생 시 401 무한 루프에 빠지게 됨
    • 이 때 로그아웃 처리 대신 getOrThrow를 먼저 타게되면서 예외를 뱉어냄
  • 해결 방안
    • Mutex를 활용하여 동시 토큰 리프레시 방지 코드 추가

@kez-lab kez-lab added the 🔥hotfix 해결이 급한 부분 수정 label Jan 25, 2025
@kez-lab kez-lab self-assigned this Jan 25, 2025
@kez-lab kez-lab requested a review from a team as a code owner January 25, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥hotfix 해결이 급한 부분 수정
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant