Commit 3984a434 authored by Miguel Martinez Pedreira's avatar Miguel Martinez Pedreira
Browse files

Extend cache entry expiration

parent 1ce289e2
......@@ -408,7 +408,7 @@ public class LFN_CSD implements Comparable<LFN_CSD>, CatalogEntity {
return null;
}
dirCache.put(pathAppended, path_id, 5 * 60 * 1000);
dirCache.put(pathAppended, path_id, 20 * 60 * 1000); // 20 minutes
dirCache_put++;
}
else {
......@@ -811,7 +811,7 @@ public class LFN_CSD implements Comparable<LFN_CSD>, CatalogEntity {
if (type == 'd') {
// pfns = new HashMap<>();
// pfns.put(Integer.valueOf(-1), "");
dirCache.put(this.canonicalName, id, 5 * 60 * 1000);
dirCache.put(this.canonicalName, id, 20 * 60 * 1000); // 20 minutes
dirCache_put++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment