Merge pull request #9 from pandachris/BAEL-2283

Removed unnecessary line
This commit is contained in:
pandachris 2018-12-09 23:10:39 +07:00 committed by GitHub
commit d80ab0b85f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -38,8 +38,7 @@ public class FireNForgetClient {
Flux.interval(Duration.ofMillis(50))
.take(data.size())
.map(this::createFloatPayload)
.map(socket::fireAndForget)
.flatMap(Function.identity())
.flatMap(socket::fireAndForget)
.blockLast();
}