Revert back the reduction in the amount of "requiredFreeSpace" needed to be available in order to accept new assignments, which happened in commit: 4af74d4581
This commit is contained in:
parent
393c9e037e
commit
f05c98de20
|
@ -50,7 +50,7 @@ public class ScheduledTasks {
|
||||||
if ( maxAssignmentsLimitPerBatch <= 1_000 )
|
if ( maxAssignmentsLimitPerBatch <= 1_000 )
|
||||||
requiredFreeSpace = oneAndHalfGB;
|
requiredFreeSpace = oneAndHalfGB;
|
||||||
else
|
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");
|
logger.info("The \"requiredFreeSpace\" for the app to request new assignments, having \"maxAssignmentsLimitPerBatch\" equal to " + maxAssignmentsLimitPerBatch + " , is: " + (requiredFreeSpace / (1024 * 1024)) + " Mb");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue