Free cookie consent management tool by TermsFeed Policy Generator

Changeset 254


Ignore:
Timestamp:
05/14/08 16:05:34 (17 years ago)
Author:
gkronber
Message:

removed caching of results in engine-store. kept deletion mechanism for expired results to delete results that are never retrieved from the grid-server (ticket #149)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Grid/EngineStore.cs

    r250 r254  
    152152            waitHandles.Remove(guid);
    153153          }
    154           return results[guid];
     154          byte[] result = results[guid];
     155          results.Remove(guid);
     156          return result;
    155157        } else {
    156158          // result not yet available, if there is also no wait-handle for that result then we will never have a result and can return null
Note: See TracChangeset for help on using the changeset viewer.