Revert "Set `suppressCancel=true` in `Mono.fromFuture`"
This reverts commit 8348263fab
.
This commit is contained in:
parent
94b41d3a2c
commit
29ca544c95
|
@ -361,10 +361,7 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
|
|||
.limitRate(MESSAGE_PUBLISHER_LIMIT_RATE)
|
||||
.flatMapSequential(envelope ->
|
||||
Mono.fromFuture(() -> sendMessage(envelope)
|
||||
.orTimeout(sendFuturesTimeoutMillis, TimeUnit.MILLISECONDS),
|
||||
// suppressCancel=true, because attempting to cancel the future has no effect, other than
|
||||
// causing dropped errors
|
||||
true)
|
||||
.orTimeout(sendFuturesTimeoutMillis, TimeUnit.MILLISECONDS))
|
||||
.onErrorResume(
|
||||
// let the first error pass through to terminate the subscription
|
||||
e -> {
|
||||
|
|
Loading…
Reference in New Issue