fixed code

This commit is contained in:
Luca Frosini 2023-03-01 20:06:07 +01:00
parent 8a6c9179ef
commit 741c80cc19
1 changed files with 1 additions and 1 deletions

View File

@ -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);