summaryrefslogtreecommitdiff
path: root/TAO/tao/orbconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/orbconf.h')
-rw-r--r--TAO/tao/orbconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tao/orbconf.h b/TAO/tao/orbconf.h
index 921eb1f7f2b..46ac17022b4 100644
--- a/TAO/tao/orbconf.h
+++ b/TAO/tao/orbconf.h
@@ -195,6 +195,10 @@
# define TAO_PURGE_PERCENT 20
#endif /* TAO_PURGE_PERCENT */
+#if !defined (TAO_CONNECTION_CACHE_MAXIMUM)
+# define TAO_CONNECTION_CACHE_MAXIMUM (ACE::max_handles () / 2)
+#endif /* TAO_CONNECTION_CACHE_MAXIMUM */
+
// This deals with platforms that support namespaces vs platforms that
// don't. @@ MSVC's namespace implementation is somehow broken.
// The following macros are required to deal with the most bizarre and insane