1
0
Fork 0
This commit is contained in:
Xavier Fontanet 2024-05-25 18:42:33 +02:00
parent d5f696dce4
commit bda5b11814
2 changed files with 3 additions and 2 deletions

View File

@ -25,9 +25,9 @@ class FileCopier {
private void createDestinationFolderIfApply(Path destinationFile) throws IOException {
var destinationFolder = destinationFile.getParent();
if (isTemporaryDestination(destinationFolder) && !Files.exists(destinationFolder)) {
System.out.printf("destination folder %s will be created%n", destinationFolder);
System.out.printf("** destination folder %s will be created%n", destinationFolder);
if (!ConfigLoader.isTestMode())
Files.createDirectories(destinationFile);
Files.createDirectories(destinationFolder);
}
}

View File

@ -98,6 +98,7 @@ public class QueueFixer {
Set<Integer> seriesToRefresh = recordsToFix.stream()
.map(Record::getSeriesId)
.collect(Collectors.toSet());
System.out.printf("** going to refresh the following series %s%n", seriesToRefresh);
sonarrDeferredRefresher.refreshSeries(seriesToRefresh);
}
}