Skip to content

Commit

Permalink
Update cache resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
kalletlak committed Sep 27, 2024
1 parent 0a32002 commit fef066a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public ResponseEntity<List<ClinicalEvent>> fetchClinicalEventsMeta(
}

@Cacheable(
cacheResolver = "staticRepositoryCacheOneResolver",
cacheResolver = "generalRepositoryCacheResolver",
condition = "@cacheEnabledConfig.getEnabled()"
)
public List<ClinicalEvent> cachedClinicalEventsMeta(ClinicalEventAttributeRequest interceptedClinicalEventAttributeRequest) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/cbioportal/web/SurvivalController.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public ResponseEntity<List<ClinicalData>> fetchSurvivalData(
}

@Cacheable(
cacheResolver = "staticRepositoryCacheOneResolver",
cacheResolver = "generalRepositoryCacheResolver",
condition = "@cacheEnabledConfig.getEnabled()"
)
public List<ClinicalData> cachedSurvivalData(SurvivalRequest interceptedSurvivalRequest) {
Expand Down

0 comments on commit fef066a

Please sign in to comment.