This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit c67b0c38be76e310c57d8f88fe133dfffa2915f0
Author: Benoit Tellier <btell...@linagora.com>
AuthorDate: Wed May 20 13:59:31 2020 +0700

    JAMES-3184 Correct Recompute Previews Tasks documentation
---
 src/site/markdown/server/manage-webadmin.md | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/site/markdown/server/manage-webadmin.md 
b/src/site/markdown/server/manage-webadmin.md
index 3cfd77e..5e6435e 100644
--- a/src/site/markdown/server/manage-webadmin.md
+++ b/src/site/markdown/server/manage-webadmin.md
@@ -522,17 +522,17 @@ Will schedule a task for recomputing the fast message 
view projection for all ma
 
 An admin can specify the concurrency that should be used when running the task:
 
- - `messageRatePerSecond` rate at which messages should be processed, per 
second. Defaults to 10.
+ - `messagesPerSecond` rate at which messages should be processed, per second. 
Defaults to 10.
  
 This optional parameter must have a strictly positive integer as a value and 
be passed as query parameters.
 
 Example:
 
 ```
-curl -XPOST 
/mailboxes?task=recomputeFastViewProjectionItems&messageRatePerSecond=20
+curl -XPOST 
/mailboxes?task=recomputeFastViewProjectionItems&messagesPerSecond=20
 ```
 
-The scheduled task will have the following type `RecomputeAllPreviewsTask` and 
the following `additionalInformation`:
+The scheduled task will have the following type 
`RecomputeAllFastViewProjectionItemsTask` and the following 
`additionalInformation`:
 
 ```
 {
@@ -542,7 +542,7 @@ The scheduled task will have the following type 
`RecomputeAllPreviewsTask` and t
   "failedUserCount": 2,
   "failedMessageCount": 1,
   "runningOptions": {
-    "messageRatePerSecond":20
+    "messagesPerSecond":20
   }
 }
 ```
@@ -971,26 +971,26 @@ Will schedule a task for recomputing the fast message 
view projection for all ma
 
 An admin can specify the concurrency that should be used when running the task:
 
- - `messageRatePerSecond` rate at which messages should be processed, per 
second. Defaults to 10.
+ - `messagesPerSecond` rate at which messages should be processed, per second. 
Defaults to 10.
  
 This optional parameter must have a strictly positive integer as a value and 
be passed as query parameters.
 
 Example:
 
 ```
-curl -XPOST 
/mailboxes?task=recomputeFastViewProjectionItems&messageRatePerSecond=20
+curl -XPOST 
/mailboxes?task=recomputeFastViewProjectionItems&messagesPerSecond=20
 ```
 
-The scheduled task will have the following type `RecomputeAllPreviewsTask` and 
the following `additionalInformation`:
+The scheduled task will have the following type 
`RecomputeUserFastViewProjectionItemsTask` and the following 
`additionalInformation`:
 
 ```
 {
-  "type":"RecomputeAllPreviewsTask",
+  "type":"RecomputeUserFastViewProjectionItemsTask",
   "username": "{usernameToBeUsed}",
   "processedMessageCount": 3,
   "failedMessageCount": 1,
   "runningOptions": {
-    "messageRatePerSecond":20
+    "messagesPerSecond":20
   }
 }
 ```


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

Reply via email to