summaryrefslogtreecommitdiff
path: root/TAO/tao/orbconf.h
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-17 14:24:17 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-17 14:24:17 +0000
commit0f26b15489ae2c7a1d1de00cb019b3c8238a574f (patch)
treec4be9440656b7b04a4f231363e42ef221945623e /TAO/tao/orbconf.h
parentc1a6f3562c72fae20f13bd7a4b3dad5d1cdfb583 (diff)
downloadATCD-0f26b15489ae2c7a1d1de00cb019b3c8238a574f.tar.gz
ChangeLogTag: Thu May 17 08:53:33 2001 Chad Elliott <elliott_c@ociweb.com>
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