- Timestamp:
- 07/14/16 22:23:38 (8 years ago)
- Location:
- branches/thasling/DistributedGA
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.ContactServer/App.config
r13557 r14074 18 18 <binding name="LargeObjects" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" /> 19 19 </netTcpBinding> 20 </bindings> 21 <services> 20 </bindings> 21 <services> 22 22 <service name="DistributedGA.ContactServer.ContactServiceImpl"> 23 23 <endpoint bindingConfiguration="LargeObjects" address="ContactService" binding="netTcpBinding" contract="DistributedGA.ContactServer.IContactService"/> … … 39 39 set the value below to true. Set to false before deployment 40 40 to avoid disclosing exception information --> 41 <serviceDebug includeExceptionDetailInFaults=" False" />41 <serviceDebug includeExceptionDetailInFaults="true" /> 42 42 </behavior> 43 43 </serviceBehaviors> -
branches/thasling/DistributedGA/DistributedGA.ContactServer/ContactServiceImpl.cs
r14061 r14074 24 24 allPeers = new ConcurrentDictionary<PeerInfo, DateTime>(); 25 25 26 timer = new Timer(1000 ); //each minute26 timer = new Timer(1000 * 60 * 2); //each minute 27 27 timer.Elapsed += CleanUpContactTable; 28 28 timer.Start(); … … 87 87 DateTime tmp; 88 88 if (allPeers.TryGetValue(pi, out tmp)) { 89 if (tmp.AddMinutes( 1) < deadline) {89 if (tmp.AddMinutes(2) < deadline) { 90 90 itemsToDelete.Add(pi); 91 91 } -
branches/thasling/DistributedGA/DistributedGA.ContactServer/DistributedGA.ContactServer.csproj
r13943 r14074 57 57 <None Include="App.config"> 58 58 <SubType>Designer</SubType> 59 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 59 60 </None> 60 61 </ItemGroup> -
branches/thasling/DistributedGA/DistributedGA.Core/Implementation/WcfPeerListManager.cs
r14061 r14074 34 34 Task.Factory.StartNew(() => RefreshPeerList(this, null), TaskCreationOptions.LongRunning); 35 35 //Start heartbeat timer 36 timer = new Timer(1000 * 10); //each 10 seconds36 timer = new Timer(1000 * 30); //each 30 seconds 37 37 timer.Elapsed += RefreshPeerList; 38 38 timer.Start();
Note: See TracChangeset
for help on using the changeset viewer.