Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/19/09 17:05:34 (15 years ago)
Author:
kgrading
Message:

part three of the awesome "FixTheBug!" Show (#529)

File:
1 edited

Legend:

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

    r1365 r1368  
    190190      response.Success = true;
    191191      response.StatusMessage = ApplicationConstants.RESPONSE_COMMUNICATOR_HEARTBEAT_RECEIVED;
    192       if (hbData.freeCores > 0 && scheduler.ExistsJobForClient(hbData))
     192      if (hbData.FreeCores > 0 && scheduler.ExistsJobForClient(hbData))
    193193        response.ActionRequest.Add(new MessageContainer(MessageContainer.MessageType.FetchJob));
    194194      else
    195195        response.ActionRequest.Add(new MessageContainer(MessageContainer.MessageType.NoMessage));
    196196
    197       if (hbData.jobProgress != null) {
     197      if (hbData.JobProgress != null) {
    198198        List<Job> jobsOfClient = new List<Job>(jobAdapter.GetActiveJobsOf(clientAdapter.GetById(hbData.ClientId)));
    199199        if (jobsOfClient == null || jobsOfClient.Count == 0) {
     
    203203        }
    204204
    205         foreach (KeyValuePair<long, double> jobProgress in hbData.jobProgress) {
     205        foreach (KeyValuePair<long, double> jobProgress in hbData.JobProgress) {
    206206          Job curJob = jobAdapter.GetById(jobProgress.Key);
    207207          if (curJob.Client == null || curJob.Client.ClientId != hbData.ClientId) {
Note: See TracChangeset for help on using the changeset viewer.