From 0a0ed252bb022406397ce9a87af99d9ac32c9bb7 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 17 Sep 2010 22:51:17 +0000
Subject: [PATCH] Fix potential OOME when under heavy asynchronous search load by making work queue capacity finite so that clients are blocked when the queue is full
---
opends/src/server/org/opends/server/config/ConfigConstants.java | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/ConfigConstants.java b/opends/src/server/org/opends/server/config/ConfigConstants.java
index 7e1b388..18cd876 100644
--- a/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -1365,23 +1365,6 @@
/**
- * The name of the configuration attribute that indicates the maximum number
- * of pending operations that may be in the work queue at any given time.
- */
- public static final String ATTR_MAX_WORK_QUEUE_CAPACITY =
- "ds-cfg-max-work-queue-capacity";
-
-
-
- /**
- * The default maximum capacity that should be used for the work queue if none
- * is specified in the configuration.
- */
- public static final int DEFAULT_MAX_WORK_QUEUE_CAPACITY = 0;
-
-
-
- /**
* The name of the configuration attribute that holds the fully-qualified name
* for the monitor provider class.
*/
--
Gitblit v1.10.0