Skip to content

Commit

Permalink
rename cache and apply default size
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 22, 2024
1 parent 965b3b8 commit 1ca73fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
@ApplicationScoped
public class MatchExpressionEvaluator {

private static final String CACHE_NAME = "match-expression-cache";
private static final String CACHE_NAME = "matchexpressions";

@Inject ScriptHost scriptHost;
@Inject Logger logger;
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ cryostat.messaging.queue.size=1024
cryostat.services.reports.url=
quarkus.cache.enabled=true
cryostat.services.reports.memory-cache.enabled=true
quarkus.cache.caffeine.matchexpressions.maximum-size=512
quarkus.cache.caffeine.activereports.expire-after-write=10s
quarkus.cache.caffeine.archivedreports.expire-after-access=10m
cryostat.services.reports.storage-cache.enabled=true
Expand Down

0 comments on commit 1ca73fd

Please sign in to comment.