Changeset 1478
- Timestamp:
- 04/02/09 13:15:28 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/Job.cs
r1377 r1478 26 26 using System.Runtime.Serialization; 27 27 using HeuristicLab.DataAccess; 28 using HeuristicLab.PluginInfrastructure; 28 29 29 30 namespace HeuristicLab.Hive.Contracts.BusinessObjects { … … 49 50 [DataMember] 50 51 public int Priority { get; set; } 52 [DataMember] 53 public int CoresNeeded { get; set; } 54 [DataMember] 55 public int MemoryNeeded { get; set; } 56 [DataMember] 57 public List<PluginInfo> PluginsNeeded { get; set; } 51 58 } 52 59 } -
trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs
r1468 r1478 104 104 if (dif.TotalSeconds > ApplicationConstants.HEARTBEAT_MAX_DIF) { 105 105 // if client calculated jobs, the job must be reset 106 if (client.State == State.calculating) { 107 // check wich job the client was calculating and reset it 108 foreach (Job job in jobAdapter.GetActiveJobsOf(client)) { 109 jobManager.ResetJobsDependingOnResults(job); 110 } 106 foreach (Job job in jobAdapter.GetActiveJobsOf(client)) { 107 jobManager.ResetJobsDependingOnResults(job); 111 108 } 112 109 … … 161 158 heartbeatLock.ExitWriteLock(); 162 159 163 // todo: allClients legacy ?164 160 ClientInfo client = clientAdapter.GetById(clientInfo.Id); 165 161 if (client != null && client.State != State.offline && client.State != State.nullState) { … … 488 484 489 485 public ResponsePlugin SendPlugins(List<PluginInfo> pluginList) { 486 487 490 488 throw new NotImplementedException(); 491 489 }
Note: See TracChangeset
for help on using the changeset viewer.