Skip to content

Commit ea2d7dd

Browse files
committed
Cache improvements
1 parent b5c5122 commit ea2d7dd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎LDK/src/org/labkey/ldk/query/LookupsUserSchema.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class LookupsUserSchema extends SimpleUserSchema
5656

5757
static
5858
{
59-
_cache = CacheManager.getStringKeyCache(1000, CacheManager.UNLIMITED, "LookupsUserSchema");
59+
_cache = CacheManager.getCache(String.class, 1000, CacheManager.UNLIMITED, "LookupsUserSchema");
6060
}
6161

6262
public static final String NAME = "lookups";

‎laboratory/src/org/labkey/laboratory/LaboratoryDataProvider.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ private synchronized Cache<String, List<TabbedReportModel>> getCache()
372372
{
373373
if (_cache == null)
374374
{
375-
_cache = CacheManager.getStringKeyCache(1000, CacheManager.UNLIMITED, "LaboratoryDataProviderCache");
375+
_cache = CacheManager.getCache(String.class, 1000, CacheManager.UNLIMITED, "LaboratoryDataProviderCache");
376376
}
377377

378378
return _cache;

0 commit comments

Comments
 (0)