Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14074


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

#2615:
made minor changes

Location:
branches/thasling/DistributedGA
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/thasling/DistributedGA/DistributedGA.ContactServer/App.config

    r13557 r14074  
    1818        <binding name="LargeObjects" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" />
    1919      </netTcpBinding>
    20     </bindings>
    21     <services>
     20    </bindings>   
     21    <services>   
    2222      <service name="DistributedGA.ContactServer.ContactServiceImpl">
    2323        <endpoint bindingConfiguration="LargeObjects" address="ContactService" binding="netTcpBinding" contract="DistributedGA.ContactServer.IContactService"/>
     
    3939          set the value below to true.  Set to false before deployment
    4040          to avoid disclosing exception information -->
    41           <serviceDebug includeExceptionDetailInFaults="False" />
     41          <serviceDebug includeExceptionDetailInFaults="true" />
    4242        </behavior>
    4343      </serviceBehaviors>
  • 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            }
  • branches/thasling/DistributedGA/DistributedGA.ContactServer/DistributedGA.ContactServer.csproj

    r13943 r14074  
    5757    <None Include="App.config">
    5858      <SubType>Designer</SubType>
     59      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    5960    </None>
    6061  </ItemGroup>
  • branches/thasling/DistributedGA/DistributedGA.Core/Implementation/WcfPeerListManager.cs

    r14061 r14074  
    3434      Task.Factory.StartNew(() => RefreshPeerList(this, null), TaskCreationOptions.LongRunning);
    3535      //Start heartbeat timer
    36       timer = new Timer(1000 * 10); //each 10 seconds
     36      timer = new Timer(1000 * 30); //each 30 seconds
    3737      timer.Elapsed += RefreshPeerList;
    3838      timer.Start();
Note: See TracChangeset for help on using the changeset viewer.