You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2022/09/19 02:58:29 UTC
[james-project] 04/07: JAMES-3816 Documentation for IMAP throttling
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit f388f029c8aeeab93b67c45e8909caf4dbaa0b0e
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Fri Sep 9 15:45:39 2022 +0700
JAMES-3816 Documentation for IMAP throttling
---
.../distributed-app/docs/modules/ROOT/pages/configure/imap.adoc | 8 ++++++++
src/site/xdoc/server/config-imap4.xml | 6 ++++++
2 files changed, 14 insertions(+)
diff --git a/server/apps/distributed-app/docs/modules/ROOT/pages/configure/imap.adoc b/server/apps/distributed-app/docs/modules/ROOT/pages/configure/imap.adoc
index 75c22eb21e..ec33b5a7c5 100644
--- a/server/apps/distributed-app/docs/modules/ROOT/pages/configure/imap.adoc
+++ b/server/apps/distributed-app/docs/modules/ROOT/pages/configure/imap.adoc
@@ -107,6 +107,14 @@ will use the specified value.
| connectionLimitPerIP
| Set the maximum simultaneous incoming connections per IP for this service
+| concurrentRequests
+| Maximum number of IMAP requests executed simultaneously. Past that limit requests are queued. Defaults to 20.
+Negative values deactivate this feature, leading to unbounded concurrency.
+
+| maxQueueSize
+| Upper bound to the IMAP throttler queue. Upon burst, requests that cannot be queued are rejected and not executed.
+Integer, defaults to 4096, must be positive, 0 means no queue.
+
| proxyRequired
| Enables proxy support for this service for incoming connections. HAProxy's protocol
(https://www.haproxy.org/download/2.7/doc/proxy-protocol.txt) is used and might be compatible
diff --git a/src/site/xdoc/server/config-imap4.xml b/src/site/xdoc/server/config-imap4.xml
index 0da6435b53..405f6feae7 100644
--- a/src/site/xdoc/server/config-imap4.xml
+++ b/src/site/xdoc/server/config-imap4.xml
@@ -80,6 +80,12 @@
<dd>Set the maximum simultaneous incoming connections for this service</dd>
<dt><strong>handler.connectionLimitPerIP</strong></dt>
<dd>Set the maximum simultaneous incoming connections per IP for this service</dd>
+ <dt><strong>concurrentRequests</strong></dt>
+ <dd>Maximum number of IMAP requests executed simultaneously. Past that limit requests are queued. Defaults to 20.
+ Negative values deactivate this feature, leading to unbounded concurrency.</dd>
+ <dt><strong>maxQueueSize</strong></dt>
+ <dd>Upper bound to the IMAP throttler queue. Upon burst, requests that cannot be queued are rejected and not executed.
+ Integer, defaults to 4096, must be positive, 0 means no queue.</dd>
<dt><strong>handler.proxyRequired</strong></dt>
<dd>
Enables proxy support for this service for incoming connections. HAProxy's protocol
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org