Free cookie consent management tool by TermsFeed Policy Generator

Changeset 492


Ignore:
Timestamp:
08/11/08 13:30:41 (16 years ago)
Author:
gkronber
Message:

increased constraints for messages to prevent exceptions while testing (ticket #211)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Core/Console.cs

    r417 r492  
    8181    private void ResetConnection() {
    8282      NetTcpBinding binding = new NetTcpBinding();
    83       binding.MaxReceivedMessageSize = 10000000; // 10Mbytes
    84       binding.ReaderQuotas.MaxStringContentLength = 10000000; // also 10M chars
    85       binding.ReaderQuotas.MaxArrayLength = 10000000; // also 10M elements;
     83      binding.MaxReceivedMessageSize = 100000000; // 100Mbytes
     84      binding.ReaderQuotas.MaxStringContentLength = 100000000; // also 100M chars
     85      binding.ReaderQuotas.MaxArrayLength = 100000000; // also 100M elements;
    8686      binding.Security.Mode = SecurityMode.None;
    8787      factory = new ChannelFactory<IDatabase>(binding);
  • trunk/sources/HeuristicLab.CEDMA.Server/ServerForm.cs

    r398 r492  
    8383      try {
    8484        NetTcpBinding binding = new NetTcpBinding();
    85         binding.MaxReceivedMessageSize = 10000000; // 10Mbytes
    86         binding.ReaderQuotas.MaxStringContentLength = 10000000; // also 10M chars
    87         binding.ReaderQuotas.MaxArrayLength = 10000000; // also 10M elements;
     85        binding.MaxReceivedMessageSize = 100000000; // 100Mbytes
     86        binding.ReaderQuotas.MaxStringContentLength = 100000000; // also 100M chars
     87        binding.ReaderQuotas.MaxArrayLength = 100000000; // also 100M elements;
    8888        binding.Security.Mode = SecurityMode.None;
    8989
Note: See TracChangeset for help on using the changeset viewer.