Changeset 1124


Ignore:
Timestamp:
01/14/09 16:38:59 (12 years ago)
Author:
msteinbi
Message:

Refactoring of Job progress (#466)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs

    r1121 r1124  
    178178        response.ActionRequest.Add(new MessageContainer(MessageContainer.MessageType.NoMessage));
    179179
     180      if (hbData.jobProgress != null) {
     181        foreach (KeyValuePair<long, double> jobProgress in hbData.jobProgress) {
     182          Job curJob = jobAdapter.GetById(jobProgress.Key);
     183          curJob.Percentage = jobProgress.Value;
     184          jobAdapter.Update(curJob);
     185        }
     186      }
     187
    180188      return response;
    181189    }
Note: See TracChangeset for help on using the changeset viewer.