chibenwa commented on code in PR #3198:
URL: https://github.com/apache/james-project/pull/3198#discussion_r4116940629
##########
protocols/imap/src/main/java/org/apache/james/imap/processor/base/SelectedMailboxImpl.java:
##########
@@ -402,7 +408,7 @@ public void resetNewApplicableFlags() {
public Publisher<Void> reactiveEvent(Event event) {
return Mono.fromRunnable(() -> synchronizedEvent(event))
.subscribeOn(Schedulers.boundedElastic())
- .then(Mono.fromCallable(idleEventListener::get)
+ .then(Mono.defer(() -> Mono.justOrEmpty(idleEventListener.get()))
Review Comment:
This comment is nor addressed nor answered.
--
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]