From 65e197a8779712fa1590bb885db15cf41596c1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilhem=20Semp=C3=A9r=C3=A9?= Date: Mon, 4 Nov 2024 15:19:32 +0100 Subject: [PATCH] Fixed export file cleanup rate --- src/main/java/fr/cirad/manager/ScheduledTaskManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/cirad/manager/ScheduledTaskManager.java b/src/main/java/fr/cirad/manager/ScheduledTaskManager.java index 37f3c23a..9684fd3d 100644 --- a/src/main/java/fr/cirad/manager/ScheduledTaskManager.java +++ b/src/main/java/fr/cirad/manager/ScheduledTaskManager.java @@ -107,7 +107,7 @@ public void cleanupCompleteImportProcesses() { /** * Cleanup old finished processes regularly */ - @Scheduled(fixedRate = 1000*60/*60*/ /* 1 hour */) + @Scheduled(fixedRate = 1000*60*60 /* 1 hour */) public void cleanupExpiredExportFiles() { new Thread() { public void run() {