추천/추적 상품 목록 조회 API에서 가격 그래프 데이터 및 최신 가격 정보 동기화 #146
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
진행 내용
기존에 더미 데이터로 존재하던 최신 가격 정보를 cache 값을 활용하여 동기화했습니다.
동시에 기존에 목록들을 불러올 때,
Promise.all을 사용하여 병렬로 처리되도록 개선하였습니다.다만,
Promise.all로 처리를 하면 단 하나의 Promise만 Reject되어도 전부 Reject 처리가 되는 문제가 있습니다.