From e5b36f7e5c5551171ec2518014db82524b1dbedc Mon Sep 17 00:00:00 2001 From: Alexander Oppermann Date: Tue, 22 Apr 2014 13:23:23 +0000 Subject: [PATCH] Cachefile lives now for at least 7 days --- .../remote/controller/checklist/ChecklistDemoController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/checklist/ChecklistDemoController.java b/cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/checklist/ChecklistDemoController.java index caa6e80f27..a185d66d31 100644 --- a/cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/checklist/ChecklistDemoController.java +++ b/cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/checklist/ChecklistDemoController.java @@ -236,7 +236,7 @@ public class ChecklistDemoController extends AbstractController implements Resou } //if file exists return file instantly //timestamp older than one day? - if(clearCache == false && result != null && result < DAY_IN_MILLIS){ + if(clearCache == false && result != null && result < 7*(DAY_IN_MILLIS)){ logger.info("result of calculation: " + result); Map modelMap = new HashMap(); modelMap.put("file", cacheFile); -- 2.34.1