summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/RegistryI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-11-05 19:05:58 +0100
committerBenoit Foucher <benoit@zeroc.com>2014-11-05 19:05:58 +0100
commit4abc9627f945c0b765cfaa326a38a548470890da (patch)
tree0f9ad49ec73e1c49a4715b4534634f0b1f5932da /cpp/src/IceGrid/RegistryI.cpp
parentWinRT installer remove 8.0 SDK registry key (diff)
downloadice-4abc9627f945c0b765cfaa326a38a548470890da.tar.bz2
ice-4abc9627f945c0b765cfaa326a38a548470890da.tar.xz
ice-4abc9627f945c0b765cfaa326a38a548470890da.zip
Fixed ICE-5486: added support for MessageSizeMax OA property
Diffstat (limited to 'cpp/src/IceGrid/RegistryI.cpp')
-rw-r--r--cpp/src/IceGrid/RegistryI.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/RegistryI.cpp b/cpp/src/IceGrid/RegistryI.cpp
index e49f0cf49bf..5d3a73e24a7 100644
--- a/cpp/src/IceGrid/RegistryI.cpp
+++ b/cpp/src/IceGrid/RegistryI.cpp
@@ -242,6 +242,10 @@ RegistryI::startImpl()
properties->setProperty("IceGrid.Registry.SessionManager.AdapterId", "");
properties->setProperty("IceGrid.Registry.AdminSessionManager.AdapterId", "");
properties->setProperty("IceGrid.Registry.Internal.AdapterId", "");
+ if(properties->getProperty("IceGrid.Registry.Internal.MessageSizeMax").empty())
+ {
+ properties->setProperty("IceGrid.Registry.Internal.MessageSizeMax", "0"); // No limit on internal data exchanged
+ }
setupThreadPool(properties, "IceGrid.Registry.Client.ThreadPool", 1, 10);
setupThreadPool(properties, "IceGrid.Registry.Server.ThreadPool", 1, 10, true); // Serialize for admin callbacks