Skip to content

Commit

Permalink
Expand translation cache (#6341)
Browse files Browse the repository at this point in the history
* Expand translation cache

* Add changelog
  • Loading branch information
jamesagnew authored Oct 2, 2024
1 parent 634a7a1 commit eccf6d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
type: change
issue: 6341
title: "The CachingValidationSupport cache for concept translations will
now keep up to 500000 translations instead of the previous 5000.
This will be made configurable in a future release."
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public CachingValidationSupport(
myExpandValueSetCache = CacheFactory.build(theCacheTimeouts.getExpandValueSetMillis(), 100);
myValidateCodeCache = CacheFactory.build(theCacheTimeouts.getValidateCodeMillis(), 5000);
myLookupCodeCache = CacheFactory.build(theCacheTimeouts.getLookupCodeMillis(), 5000);
myTranslateCodeCache = CacheFactory.build(theCacheTimeouts.getTranslateCodeMillis(), 5000);
myTranslateCodeCache = CacheFactory.build(theCacheTimeouts.getTranslateCodeMillis(), 500000);
myCache = CacheFactory.build(theCacheTimeouts.getMiscMillis(), 5000);
myNonExpiringCache = Collections.synchronizedMap(new HashMap<>());

Expand Down

0 comments on commit eccf6d7

Please sign in to comment.