Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/14/11 01:09:54 (12 years ago)
Author:
ascheibe
Message:

#1672

  • increased times between life cycles on the server
  • some smaller performance improvements on the server
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Hive/3.3/Manager/HeartbeatManager.cs

    r6983 r7187  
    4444      if (slave == null) {
    4545        actions.Add(new MessageContainer(MessageContainer.MessageType.SayHello));
    46       } else {
    47         Slave s = dao.GetSlave(heartbeat.SlaveId);
    48         if (s != null) {
    49           if (heartbeat.HbInterval != s.HbInterval) {
    50             actions.Add(new MessageContainer(MessageContainer.MessageType.NewHBInterval));
    51           }
     46      } else {       
     47        if (heartbeat.HbInterval != slave.HbInterval) {
     48          actions.Add(new MessageContainer(MessageContainer.MessageType.NewHBInterval));
    5249        }
    53 
     50       
    5451        // update slave data
    5552        slave.FreeCores = heartbeat.FreeCores;
Note: See TracChangeset for help on using the changeset viewer.