sync with reactor-stream update

This commit is contained in:
Stephane Maldini
2016-02-23 09:39:20 +00:00
parent 51a90465d4
commit f920d2ce1e

View File

@@ -106,7 +106,7 @@ public class AsyncIntegrationTests {
@Override
public Mono<Void> handle(ServerHttpRequest request, ServerHttpResponse response) {
return response.setBody(Stream.just("h", "e", "l", "l", "o")
.timer(Timer.global())
.useTimer(Timer.global())
.throttleRequest(100)
.dispatchOn(asyncGroup)
.collect(allocator::allocateBuffer,