From f05c98de20b26d5b37a0f0d010629aeaf374e359 Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Tue, 3 Dec 2024 19:54:11 +0200 Subject: [PATCH] Revert back the reduction in the amount of "requiredFreeSpace" needed to be available in order to accept new assignments, which happened in commit: 4af74d4581 --- .../java/eu/openaire/urls_worker/components/ScheduledTasks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/openaire/urls_worker/components/ScheduledTasks.java b/src/main/java/eu/openaire/urls_worker/components/ScheduledTasks.java index 524f6c8..31603bf 100644 --- a/src/main/java/eu/openaire/urls_worker/components/ScheduledTasks.java +++ b/src/main/java/eu/openaire/urls_worker/components/ScheduledTasks.java @@ -50,7 +50,7 @@ public class ScheduledTasks { if ( maxAssignmentsLimitPerBatch <= 1_000 ) requiredFreeSpace = oneAndHalfGB; else - requiredFreeSpace = oneAndHalfGB * (maxAssignmentsLimitPerBatch / 1_500); + requiredFreeSpace = oneAndHalfGB * (maxAssignmentsLimitPerBatch / 1_000); logger.info("The \"requiredFreeSpace\" for the app to request new assignments, having \"maxAssignmentsLimitPerBatch\" equal to " + maxAssignmentsLimitPerBatch + " , is: " + (requiredFreeSpace / (1024 * 1024)) + " Mb"); }