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)
|
.limitRate(MESSAGE_PUBLISHER_LIMIT_RATE)
|
||||||
.flatMapSequential(envelope ->
|
.flatMapSequential(envelope ->
|
||||||
Mono.fromFuture(() -> sendMessage(envelope)
|
Mono.fromFuture(() -> sendMessage(envelope)
|
||||||
.orTimeout(sendFuturesTimeoutMillis, TimeUnit.MILLISECONDS),
|
.orTimeout(sendFuturesTimeoutMillis, TimeUnit.MILLISECONDS))
|
||||||
// suppressCancel=true, because attempting to cancel the future has no effect, other than
|
|
||||||
// causing dropped errors
|
|
||||||
true)
|
|
||||||
.onErrorResume(
|
.onErrorResume(
|
||||||
// let the first error pass through to terminate the subscription
|
// let the first error pass through to terminate the subscription
|
||||||
e -> {
|
e -> {
|
||||||
|
|
Loading…
Reference in New Issue