a68b89452f
Some NFS based filesystems seem to have a problem deleting the temporary directory we create to hold our JARs. Something on the NFS server is pegging the directory open until the JVM exits, which means we may wind up leaving an infinite number of empty directories in ~/.gerritcodereview/tmp. This appears to be isolated to certain NFS servers, because my local /tmp doesn't suffer from the same problem, the temporary directory is deleted on JVM exit. We use a simple rule here, any empty directory with a modification date older than 7 days is assumed to be garbage and removed. Any directory that is non-empty can be assumed to be a running daemon, even if it has a modification date of older than 7 days, and is thus left alone. Change-Id: I3d4e697863f347e66e5b142e4a7ad8e99a08956d Signed-off-by: Shawn O. Pearce <sop@google.com> |
||
---|---|---|
.. | ||
.settings | ||
src/main/java | ||
.gitignore | ||
pom.xml |