james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [06/17] james-project git commit: JAMES-2414 Non configurable MailboxListeners should be SYNCHRONOUS
Date Tue, 12 Jun 2018 00:03:25 GMT
JAMES-2414 Non configurable MailboxListeners should be SYNCHRONOUS

To avoid testing problems...


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

Branch: refs/heads/master
Commit: 150e5294ef73dea169e043ce44860f524bff8e00
Parents: a968e0e
Author: benwa <btellier@linagora.com>
Authored: Thu Jun 7 16:30:38 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Tue Jun 12 07:01:28 2018 +0700

----------------------------------------------------------------------
 .../elasticsearch/events/ElasticSearchQuotaMailboxListener.java    | 2 +-
 .../james/mailbox/store/quota/ListeningCurrentQuotaUpdater.java    | 2 +-
 .../james/mailbox/store/search/ListeningMessageSearchIndex.java    | 2 +-
 .../main/java/org/apache/james/imap/processor/IdleProcessor.java   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/150e5294/mailbox/plugin/quota-search-elasticsearch/src/main/java/org/apache/james/quota/search/elasticsearch/events/ElasticSearchQuotaMailboxListener.java
----------------------------------------------------------------------
diff --git a/mailbox/plugin/quota-search-elasticsearch/src/main/java/org/apache/james/quota/search/elasticsearch/events/ElasticSearchQuotaMailboxListener.java
b/mailbox/plugin/quota-search-elasticsearch/src/main/java/org/apache/james/quota/search/elasticsearch/events/ElasticSearchQuotaMailboxListener.java
index b08ca97..3bdd358 100644
--- a/mailbox/plugin/quota-search-elasticsearch/src/main/java/org/apache/james/quota/search/elasticsearch/events/ElasticSearchQuotaMailboxListener.java
+++ b/mailbox/plugin/quota-search-elasticsearch/src/main/java/org/apache/james/quota/search/elasticsearch/events/ElasticSearchQuotaMailboxListener.java
@@ -54,7 +54,7 @@ public class ElasticSearchQuotaMailboxListener implements MailboxListener
{
 
     @Override
     public ExecutionMode getExecutionMode() {
-        return ExecutionMode.ASYNCHRONOUS;
+        return ExecutionMode.SYNCHRONOUS;
     }
 
     @Override

http://git-wip-us.apache.org/repos/asf/james-project/blob/150e5294/mailbox/store/src/main/java/org/apache/james/mailbox/store/quota/ListeningCurrentQuotaUpdater.java
----------------------------------------------------------------------
diff --git a/mailbox/store/src/main/java/org/apache/james/mailbox/store/quota/ListeningCurrentQuotaUpdater.java
b/mailbox/store/src/main/java/org/apache/james/mailbox/store/quota/ListeningCurrentQuotaUpdater.java
index 62e4ee0..33f4fff 100644
--- a/mailbox/store/src/main/java/org/apache/james/mailbox/store/quota/ListeningCurrentQuotaUpdater.java
+++ b/mailbox/store/src/main/java/org/apache/james/mailbox/store/quota/ListeningCurrentQuotaUpdater.java
@@ -57,7 +57,7 @@ public class ListeningCurrentQuotaUpdater implements MailboxListener, QuotaUpdat
 
     @Override
     public ExecutionMode getExecutionMode() {
-        return ExecutionMode.ASYNCHRONOUS;
+        return ExecutionMode.SYNCHRONOUS;
     }
 
     @Override

http://git-wip-us.apache.org/repos/asf/james-project/blob/150e5294/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/ListeningMessageSearchIndex.java
----------------------------------------------------------------------
diff --git a/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/ListeningMessageSearchIndex.java
b/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/ListeningMessageSearchIndex.java
index 92dc0db..5dfc82b 100644
--- a/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/ListeningMessageSearchIndex.java
+++ b/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/ListeningMessageSearchIndex.java
@@ -54,7 +54,7 @@ public abstract class ListeningMessageSearchIndex implements MessageSearchIndex,
 
     @Override
     public ExecutionMode getExecutionMode() {
-        return ExecutionMode.ASYNCHRONOUS;
+        return ExecutionMode.SYNCHRONOUS;
     }
 
     /**

http://git-wip-us.apache.org/repos/asf/james-project/blob/150e5294/protocols/imap/src/main/java/org/apache/james/imap/processor/IdleProcessor.java
----------------------------------------------------------------------
diff --git a/protocols/imap/src/main/java/org/apache/james/imap/processor/IdleProcessor.java
b/protocols/imap/src/main/java/org/apache/james/imap/processor/IdleProcessor.java
index 56e5a06..58be42b 100644
--- a/protocols/imap/src/main/java/org/apache/james/imap/processor/IdleProcessor.java
+++ b/protocols/imap/src/main/java/org/apache/james/imap/processor/IdleProcessor.java
@@ -197,7 +197,7 @@ public class IdleProcessor extends AbstractMailboxProcessor<IdleRequest>
impleme
 
         @Override
         public ExecutionMode getExecutionMode() {
-            return ExecutionMode.ASYNCHRONOUS;
+            return ExecutionMode.SYNCHRONOUS;
         }
     }
 


---------------------------------------------------------------------
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