Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit d97dbbc

Browse files
committed
Added expiration and size limit to memo
1 parent fad3f35 commit d97dbbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/rascalmpl/core/library/lang/rascalcore/check/RascalConfig.rsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ loc rascalCreateLogicalLoc(Define def, str _modelName, PathConfig pcfg){
463463
return def.defined;
464464
}
465465
466-
@memo
466+
@memo{expireAfter(minutes=5),maximumSize(1000)}
467467
rel[str shortName, str longName] getModuleNames(PathConfig pcfg){
468468
longNames = {};
469469
for(srcdir <- pcfg.srcs){

0 commit comments

Comments
 (0)