Arsnael commented on code in PR #1500:
URL: https://github.com/apache/james-project/pull/1500#discussion_r1145731410
##########
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:
Knowing that the (very) long term goal is to have, if possible, an
application fully reactive from end to end, I think if we can do bits by bits
when we have to refactor some parts of the code for an other reason isn't too
much. But that's my opinion :)
Fine either way
--
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]