Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2112


Ignore:
Timestamp:
06/25/09 19:02:17 (15 years ago)
Author:
gkronber
Message:

Fixed discrimination of snap shots and end results in the hive grid wrapper. #679

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Grid.HiveBridge/3.2/HiveGridServerWrapper.cs

    r2099 r2112  
    7171        HeuristicLab.Hive.Engine.Job restoredJob = (HeuristicLab.Hive.Engine.Job)PersistenceManager.RestoreFromGZip(response.Obj.SerializedJobResultData);
    7272        // only return the engine when it wasn't canceled (result is only a snapshot)
    73         if (!restoredJob.Engine.Canceled) {
     73        if (restoredJob.Progress < 1.0) {
    7474          // Serialize the engine
    7575          MemoryStream memStream = new MemoryStream();
Note: See TracChangeset for help on using the changeset viewer.