Changeset 5174


Ignore:
Timestamp:
Oct 30, 2009, 8:39:05 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1425: Cached experiment explorer information should be distributed into subdirectories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.14-stable/src/clients/web/net/sf/basedb/clients/web/ExperimentExplorer.java

    r5148 r5174  
    933933    if (posCache == null)
    934934    {
     935      int id = bas.getId();
    935936      StaticCache staticCache = Application.getStaticCache();
    936       String cacheKey = "explorer/bioassayset." + bas.getId() + "/poslist.ser";
     937      String cacheKey = "explorer/" + (id % 1000) + "/poslist-" + id + ".ser";
    937938      List<Integer> posList = (List<Integer>)staticCache.load(cacheKey, 100);
    938939      if (posList == null)
Note: See TracChangeset for help on using the changeset viewer.