Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/11/08 15:14:02 (16 years ago)
Author:
kgrading
Message:

fixed fetchjobcompleted and sendheartbeat method (#430)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/Heartbeat.cs

    r946 r960  
    7272      Console.WriteLine("tick");
    7373      ClientInfo info = ConfigManager.Instance.GetClientInfo();
     74      // Todo: remove tempfix for free cores.
    7475      HeartBeatData heartBeatData = new HeartBeatData { ClientId = info.ClientId,
    75                                                               freeCores = info.NrOfCores,
     76                                                              freeCores = info.NrOfCores - (ClientStatusInfo.JobsFetched - ClientStatusInfo.JobsProcessed),
    7677                                                              freeMemory = 1000,
    7778                                                              jobProgress = ClientStatusInfo.JobsFetched - ClientStatusInfo.JobsProcessed};
Note: See TracChangeset for help on using the changeset viewer.