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

음악 데이터 초기화 스케쥴링 #358

Merged
merged 3 commits into from
Jul 5, 2024
Merged

음악 데이터 초기화 스케쥴링 #358

merged 3 commits into from
Jul 5, 2024

Conversation

esperar
Copy link
Contributor

@esperar esperar commented Jul 5, 2024

💡 개요
음악 데이터를 매달 1일마다 두 달전 모든 데이터들이 삭제되는 스케쥴러입니다.

구현

음악 데이터를 삭제함에 따라서 캐시도 걷어야하기 때문에 RedisCacheService에 캐시를 invalid하는 로직을 분리했습니다.

@esperar esperar self-assigned this Jul 5, 2024
@esperar
Copy link
Contributor Author

esperar commented Jul 5, 2024

image

이 쿼리 멤버 리퍼지토리로 돌려도 될 것 같긴한데.. 귀찮긴한데.. 안할래요 근데 경수가 해주면 좋겟따 @KimGyeongsuuu

@esperar esperar merged commit 981b1e2 into develop Jul 5, 2024
1 check passed
@esperar esperar deleted the music-init branch July 6, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants