Commit c3a7c1ac authored by jitokim's avatar jitokim Committed by Christian Tzolov
Browse files

perf(webflux): optimize session broadcasting with Flux.fromIterable (#109)



Replace Flux.fromStream(sessions.values().stream()) with more efficient
Flux.fromIterable(sessions.values()) to eliminate unnecessary stream
conversion when broadcasting messages to active sessions

Signed-off-by: default avatarjitokim <pigberger70@gmail.com>
parent eb8e3744
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment