-
Notifications
You must be signed in to change notification settings - Fork 0
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] 토큰 재발급 동시성 문제 해결 #237
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와 너무 신기하다 ㄷㄷ 고생하셨습니당 ㅠ
@@ -17,64 +21,166 @@ class AuthInterceptor @Inject constructor( | |||
private val context: Application, | |||
) : Interceptor { | |||
|
|||
// TODO dana 경우에 따른 분기 처리 필요 | |||
private val mutex = Mutex() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요런 녀석이 있었군요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
멋져요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
감사합니달라
coroutine 동시 접근 문제는 보통 Mutex를 사용하는거 같더라고용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다
@@ -17,64 +21,166 @@ class AuthInterceptor @Inject constructor( | |||
private val context: Application, | |||
) : Interceptor { | |||
|
|||
// TODO dana 경우에 따른 분기 처리 필요 | |||
private val mutex = Mutex() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
멋져요
Related issue 🛠
Work Description ✏️
Screenshot 📸
Uncompleted Tasks 😅
To Reviewers 📢
자세한 사항은
https://sungah.notion.site/7bafc9a1f0cf49a5b381c9ff53887f56?pvs=4
확인해주세여!