diff --git a/backend/src/main/java/shook/shook/song/application/InMemorySongsScheduler.java b/backend/src/main/java/shook/shook/song/application/InMemorySongsScheduler.java index bb7f04a35..f0f102efa 100644 --- a/backend/src/main/java/shook/shook/song/application/InMemorySongsScheduler.java +++ b/backend/src/main/java/shook/shook/song/application/InMemorySongsScheduler.java @@ -2,6 +2,7 @@ import jakarta.annotation.PostConstruct; import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; @@ -10,6 +11,7 @@ @RequiredArgsConstructor @Transactional(readOnly = true) +@Slf4j @Component public class InMemorySongsScheduler { @@ -23,6 +25,7 @@ public void initialize() { @Scheduled(cron = "${schedules.in-memory-song.cron}") public void recreateCachedSong() { + log.info("InMemorySongsScheduler worked"); inMemorySongs.recreate(songRepository.findAllWithKillingParts()); } } diff --git a/backend/src/main/resources/shook-security b/backend/src/main/resources/shook-security index fdcef5f75..858234c9a 160000 --- a/backend/src/main/resources/shook-security +++ b/backend/src/main/resources/shook-security @@ -1 +1 @@ -Subproject commit fdcef5f75646fe90fd260da8e3a55e05c1bee019 +Subproject commit 858234c9a0ed46deb04e5a092135b26e10c3dbd5