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: 캐시 키 변경 & 커스텀 캐시 Evict 로직 구현 #143

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

swa07016
Copy link
Member

@swa07016 swa07016 commented Jan 5, 2024

🚀 개요

캐시 키를 변경했으며, 커스텀 Evict 로직을 구현했습니다.
이전에는 스크랩 API 호출시, 해당 캐시의 모든 엔트리를 모두 삭제하도록 했는데,
운영환경에서는 내부의 Redis커맨드가 막혀있어서 실행이 되지 않아 스크랩 개수 정합성을 보장하지 못했습니다.
대신 브리핑의 type을 키로잡고 스크랩 API 호출시 해당 키의 엔트리만 삭제하도록 했습니다.

@swa07016 swa07016 added 🐛 bug Something isn't working ✨ feature New feature or request labels Jan 5, 2024
@swa07016 swa07016 requested a review from CYY1007 January 5, 2024 16:33
@swa07016 swa07016 self-assigned this Jan 5, 2024
@swa07016 swa07016 merged commit ac44539 into develop Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working ✨ feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant