james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [6/7] james-project git commit: JAMES-2444 Make ExpungeBulkSize default safe for mono node JMAP expunges
Date Wed, 04 Jul 2018 02:37:33 GMT
JAMES-2444 Make ExpungeBulkSize default safe for mono node JMAP expunges


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/b318027c
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/b318027c
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/b318027c

Branch: refs/heads/master
Commit: b318027ca146c91ed8ff6161462bf98aa0b51694
Parents: 6838a98
Author: benwa <btellier@linagora.com>
Authored: Tue Jul 3 10:36:46 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed Jul 4 09:36:17 2018 +0700

----------------------------------------------------------------------
 .../cassandra/init/configuration/CassandraConfiguration.java       | 2 +-
 src/site/xdoc/server/config-cassandra.xml                          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/b318027c/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/configuration/CassandraConfiguration.java
----------------------------------------------------------------------
diff --git a/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/configuration/CassandraConfiguration.java
b/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/configuration/CassandraConfiguration.java
index bf7e837..3cb610a 100644
--- a/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/configuration/CassandraConfiguration.java
+++ b/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/configuration/CassandraConfiguration.java
@@ -33,7 +33,7 @@ import com.google.common.base.Preconditions;
 
 public class CassandraConfiguration {
     public static final int DEFAULT_MESSAGE_CHUNK_SIZE_ON_READ = 100;
-    public static final int DEFAULT_EXPUNGE_BATCH_SIZE = 100;
+    public static final int DEFAULT_EXPUNGE_BATCH_SIZE = 50;
     public static final int DEFAULT_UPDATE_FLAGS_BATCH_SIZE = 20;
     public static final int DEFAULT_FLAGS_UPDATE_MESSAGE_MAX_RETRY = 1000;
     public static final int DEFAULT_FLAGS_UPDATE_MESSAGE_ID_MAX_RETRY = 1000;

http://git-wip-us.apache.org/repos/asf/james-project/blob/b318027c/src/site/xdoc/server/config-cassandra.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/server/config-cassandra.xml b/src/site/xdoc/server/config-cassandra.xml
index 3c74beb..142a3f4 100644
--- a/src/site/xdoc/server/config-cassandra.xml
+++ b/src/site/xdoc/server/config-cassandra.xml
@@ -110,7 +110,7 @@
         <dt><strong>chunk.size.message.read</strong></dt>
         <dd>Optional. Defaults to 100.<br/> Controls the number of messages to
be retrieved in parallel.</dd>
         <dt><strong>chunk.size.expunge</strong></dt>
-        <dd>Optional. Defaults to 100.<br/> Controls the number of messages to
be expunged in parallel.</dd>
+        <dd>Optional. Defaults to 50.<br/> Controls the number of messages to
be expunged in parallel.</dd>
         <dt><strong>mailbox.blob.part.size</strong></dt>
         <dd>Optional. Defaults to 102400 (100KB).<br/> Controls the size of blob
parts used to store messages.</dd>
       </dl>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message