chibenwa commented on code in PR #997:
URL: https://github.com/apache/james-project/pull/997#discussion_r870156507
##########
mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraIndexTableHandler.java:
##########
@@ -129,8 +129,7 @@ public Mono<Void> updateIndexOnAdd(MailboxMessage message,
CassandraId mailboxId
.then();
}
- public Mono<Void> updateIndexOnAdd(Collection<MailboxMessage> messages,
CassandraId mailboxId) {
- int lowConcurrency = 2;
+ public Mono<Void> updateIndexOnAdd(Collection<MailboxMessage> messages,
CassandraId mailboxId, int reactorConcurrency) {
Review Comment:
```suggestion
public Mono<Void> updateIndexOnAdd(Collection<MailboxMessage> messages,
CassandraId mailboxId) {
int fairConcurrency = 4;
// ...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]