- Timestamp:
- 06/09/16 11:37:51 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.ContactServer/ContactServiceImpl.cs
r13887 r13888 25 25 allPeers = new ConcurrentDictionary<PeerInfo, DateTime>(); 26 26 27 timer = new Timer(1000 * 60 * 60); //each hour27 timer = new Timer(1000); //each hour 28 28 timer.Elapsed += CleanUpContactTable; 29 29 timer.Start(); … … 104 104 if (allPeers.TryGetValue(pi, out tmp)) 105 105 { 106 if (tmp.AddHours(1f) < deadline) 106 //if (tmp.AddHours(1f) < deadline) 107 if (tmp.AddMinutes(1) < deadline) //TODO 107 108 { 108 109 //if (tmp < deadline.AddHours(1f)) {
Note: See TracChangeset
for help on using the changeset viewer.