Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/14/16 22:23:38 (8 years ago)
Author:
thasling
Message:

#2615:
made minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/thasling/DistributedGA/DistributedGA.ContactServer/ContactServiceImpl.cs

    r14061 r14074  
    2424      allPeers = new ConcurrentDictionary<PeerInfo, DateTime>();
    2525
    26       timer = new Timer(1000); //each minute
     26      timer = new Timer(1000 * 60 * 2); //each minute
    2727      timer.Elapsed += CleanUpContactTable;
    2828      timer.Start();
     
    8787          DateTime tmp;
    8888          if (allPeers.TryGetValue(pi, out tmp)) {
    89             if (tmp.AddMinutes(1) < deadline) {
     89            if (tmp.AddMinutes(2) < deadline) {
    9090              itemsToDelete.Add(pi);
    9191            }
Note: See TracChangeset for help on using the changeset viewer.