Skip to content

Commit

Permalink
Added expiration and size limit to memo
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Dec 11, 2024
1 parent fad3f35 commit d97dbbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ loc rascalCreateLogicalLoc(Define def, str _modelName, PathConfig pcfg){
return def.defined;
}

@memo
@memo{expireAfter(minutes=5),maximumSize(1000)}
rel[str shortName, str longName] getModuleNames(PathConfig pcfg){
longNames = {};
for(srcdir <- pcfg.srcs){
Expand Down

0 comments on commit d97dbbc

Please sign in to comment.