Merge branch 'master' of gitea@code-repo.d4science.org:gCubeSystem/resource-registry-api.git
This commit is contained in:
commit
c50ca21744
|
@ -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