SUPPORT-9561: fix job

This commit is contained in:
gulnaz 2025-11-25 16:19:51 +03:00
parent 3566526d68
commit 53e75c4755

View file

@ -17,7 +17,7 @@ public class ExcerptCleanScheduler {
this.excerptHistoryDao = excerptHistoryDao;
}
@Scheduled(cron = "${excerpt.cleanup.cron:0 */30 * * * *}")
@Scheduled(fixedDelayString = "${excerpt.cleanup.delay:30000}")
@SchedulerLock(name = "oldExcerptFilesCleaning")
public void cleanOld() {
excerptHistoryDao.deleteOld();