- Timestamp:
- 05/21/12 18:21:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Services.Hive/3.3/Manager/EventManager.cs
r7857 r7862 122 122 /// </summary> 123 123 private void DeleteObsoleteSlaves() { 124 var slaves = dao.GetSlaves(x => x.IsDisposable && x.SlaveState == SlaveState.Offline && (DateTime.Now - x.LastHeartbeat) > HeuristicLab.Services.Hive.Properties.Settings.Default.SweepInterval);124 var slaves = dao.GetSlaves(x => x.IsDisposable.GetValueOrDefault() && x.SlaveState == SlaveState.Offline && (DateTime.Now - x.LastHeartbeat) > HeuristicLab.Services.Hive.Properties.Settings.Default.SweepInterval); 125 125 foreach (DT.Slave slave in slaves) dao.DeleteSlave(slave.Id); 126 126 }
Note: See TracChangeset
for help on using the changeset viewer.