- Timestamp:
- 04/23/13 18:39:52 (11 years ago)
- Location:
- branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave/3.3/Core.cs
r9347 r9394 240 240 task = wcfService.GetTask(taskId); 241 241 if (task == null) throw new TaskNotFoundException(taskId); 242 if (ConfigManager.Instance.GetFreeCores() < task.CoresNeeded) throw new OutOfCoresException();243 if (ConfigManager.Instance.GetFreeMemory() < task.MemoryNeeded) throw new OutOfMemoryException();242 //if (ConfigManager.Instance.GetFreeCores() < task.CoresNeeded) throw new OutOfCoresException(); 243 //if (ConfigManager.Instance.GetFreeMemory() < task.MemoryNeeded) throw new OutOfMemoryException(); 244 244 SlaveStatusInfo.IncrementUsedCores(task.CoresNeeded); usedCores = task.CoresNeeded; 245 245 TaskData taskData = wcfService.GetTaskData(taskId); -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave/3.3/Manager/HeartbeatManager.cs
r9347 r9394 82 82 83 83 private void RunHeartBeatThread() { 84 Thread.Sleep(new Random().Next((int)Interval.TotalMilliseconds)); 85 84 86 while (!threadStopped) { 85 87 try {
Note: See TracChangeset
for help on using the changeset viewer.