We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if (builderDataDirectory == null) { builderDataDirectory = Files.createTempDirectory("epg").toFile(); }
But at the moment when a search is performed for obsolete ones, their path is calculated relative to the parent.
private void cleanOldDataDirectories(File parentDirectory) { final File[] children = parentDirectory.listFiles();
try (FileOutputStream fos = new FileOutputStream(lockFile); FileLock lock = fos.getChannel().tryLock()) { if (lock != null) { //..... FileUtils.deleteDirectory(dir); } }
final File lockFile = new File(dir, LOCK_FILE_NAME); final boolean isTooNew = System.currentTimeMillis() - lockFile.lastModified() < 10 * 60 * 1000; if (!lockFile.exists() || isTooNew) { continue; }
The text was updated successfully, but these errors were encountered:
Just noticed this today as well. I can attempt to fix this if you'd like?
Sorry, something went wrong.
If you have an idea how to fix it, help is always welcome.
No branches or pull requests
if (builderDataDirectory == null) { builderDataDirectory = Files.createTempDirectory("epg").toFile(); }
But at the moment when a search is performed for obsolete ones, their path is calculated relative to the parent.
private void cleanOldDataDirectories(File parentDirectory) { final File[] children = parentDirectory.listFiles();
try (FileOutputStream fos = new FileOutputStream(lockFile); FileLock lock = fos.getChannel().tryLock()) { if (lock != null) { //..... FileUtils.deleteDirectory(dir); } }
final File lockFile = new File(dir, LOCK_FILE_NAME); final boolean isTooNew = System.currentTimeMillis() - lockFile.lastModified() < 10 * 60 * 1000; if (!lockFile.exists() || isTooNew) { continue; }
The text was updated successfully, but these errors were encountered: