Skip to content

Commit

Permalink
fix(sandside): #197 reset unicast to multicast for notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Marthym committed Dec 31, 2023
1 parent db0962d commit 7ed1587
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public Flux<ServerEvent> subscribe() {
}
return authFacade.getConnectedUser().flatMapMany(u ->
Objects.requireNonNull(cache.get(u.id, id -> {
Sinks.Many<ServerEvent> sink = Sinks.many().unicast().onBackpressureBuffer();
Sinks.Many<ServerEvent> sink = Sinks.many().multicast().onBackpressureBuffer();
AtomicReference<Subscription> subscription = new AtomicReference<>();
Flux<ServerEvent> multicastFlux = this.multicast.asFlux()
.doOnSubscribe(subscription::set);
Expand Down

0 comments on commit 7ed1587

Please sign in to comment.