Merge branch 'master' of gitea@code-repo.d4science.org:gCubeSystem/resource-registry-api.git

This commit is contained in:
Luca Frosini 2023-03-03 12:02:37 +01:00
commit c50ca21744
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);