fixed code
This commit is contained in:
parent
8a6c9179ef
commit
741c80cc19
|
@ -89,7 +89,7 @@ public class ContextCache {
|
|||
if((now.after(expiringTime) || (contexts==null)) && contextCacheRenewal!=null) {
|
||||
try {
|
||||
List<Context> contexts = contextCacheRenewal.renew();
|
||||
singleton.cleanCache(now);
|
||||
cleanCache(now);
|
||||
setContexts(contexts);
|
||||
} catch (ResourceRegistryException e) {
|
||||
logger.error("Unable to refresh Cache", e);
|
||||
|
|
Loading…
Reference in New Issue