mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-24 14:45:56 +00:00
Fix HER-1955 Some annoying interaction between new creation of latest link and disk full java bean
* DiskSpaceMonitor.java
checkAvailableSpace() - really do ignore non-existent paths, as comment and log message claim is done
This commit is contained in:
@@ -131,7 +131,8 @@ public class DiskSpaceMonitor implements ApplicationListener {
|
||||
if (!path.exists()) {
|
||||
// Paths that can not be resolved will not report accurate
|
||||
// available space. Log and ignore.
|
||||
logger.fine("Ignoring non-existant path " + path.getAbsolutePath());
|
||||
logger.fine("Ignoring non-existent path " + path.getAbsolutePath());
|
||||
return;
|
||||
}
|
||||
long availBytes = path.getUsableSpace();
|
||||
long thresholdBytes = getPauseThresholdMiB() * 1024 * 1024;
|
||||
|
||||
Reference in New Issue
Block a user