sync with reactor-stream update

This commit is contained in:
Stephane Maldini 2016-02-23 09:39:20 +00:00
parent 51a90465d4
commit f920d2ce1e
1 changed files with 1 additions and 1 deletions

View File

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