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

상품 정보 조회 promise 방식 변경 #269

Merged
merged 1 commit into from
May 8, 2024
Merged

Conversation

Muungi
Copy link
Collaborator

@Muungi Muungi commented May 6, 2024

진행 내용

  • 주기적 상품 정보 조회 시, 하나의 상품 조회 promise가 실패할 경우 모든 promise가 실패되는 현상 개선

  • 기존에는 Promise.all로 인해 하나의 promise만 reject되더라도 모든 promise가 실패되었는데, 해당 현상을 개선하기 위해
    Promise.allSettled를 이용하여 성공한 promise와 실패한 promise를 따로 처리할 수 있도록 변경하였습니다.

@Muungi Muungi added feature 새로운 기능 backend 백엔드 관련 labels May 6, 2024
@Muungi Muungi requested a review from sickbirdd May 6, 2024 15:07
@Muungi Muungi self-assigned this May 6, 2024
Copy link
Collaborator

@sickbirdd sickbirdd left a comment

Choose a reason for hiding this comment

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

원래 수정하려고 했었던 사항이었는데 개선해주셔서 감사합니다!!

@sickbirdd sickbirdd merged commit 4901615 into dev/be May 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend 백엔드 관련 feature 새로운 기능
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants