vttranlina commented on code in PR #1500:
URL: https://github.com/apache/james-project/pull/1500#discussion_r1145656077
##########
mailbox/api/src/main/java/org/apache/james/mailbox/quota/MaxQuotaManager.java:
##########
@@ -53,6 +53,10 @@ public interface MaxQuotaManager {
*/
void setMaxStorage(QuotaRoot quotaRoot, QuotaSizeLimit maxStorageQuota)
throws MailboxException;
+ default Publisher<Void> setMaxStorageReactive(QuotaRoot quotaRoot,
QuotaSizeLimit maxStorageQuota) {
+ return Mono.fromRunnable(Throwing.runnable(() ->
setMaxStorage(quotaRoot, maxStorageQuota)).sneakyThrow());
Review Comment:
I did reactive for `CassandraPerUserMaxQuotaManager`
For another implement, IMO it's unnecessary
--
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]