Changeset 264 for trunk/sources
- Timestamp:
- 05/16/08 11:30:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Grid/ServerForm.cs
r240 r264 60 60 externalHost = new ServiceHost(server, new Uri(externalAddressTextBox.Text)); 61 61 internalHost = new ServiceHost(jobStore, new Uri(internalAddressTextBox.Text)); 62 ServiceThrottlingBehavior throttlingBehavior = new ServiceThrottlingBehavior(); 63 throttlingBehavior.MaxConcurrentSessions = 20; 64 internalHost.Description.Behaviors.Add(throttlingBehavior); 62 65 try { 63 66 NetTcpBinding binding = new NetTcpBinding(); … … 66 69 binding.ReaderQuotas.MaxArrayLength = 100000000; // also 100M elements; 67 70 binding.Security.Mode = SecurityMode.None; 71 68 72 69 73 externalHost.AddServiceEndpoint(typeof(IGridServer), binding, externalAddressTextBox.Text);
Note: See TracChangeset
for help on using the changeset viewer.