From f48a69f01dd4cf3d4cb3a86d8d59e7f751851bca Mon Sep 17 00:00:00 2001 From: Konrad Malawski Date: Sun, 19 Jul 2015 21:30:54 +0200 Subject: [PATCH] =doc fix typo in host-level http docs --- .../java/code/docs/http/javadsl/HttpClientExampleDocTest.java | 4 ++-- akka-docs-dev/rst/java/http/client-side/host-level.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/akka-docs-dev/rst/java/code/docs/http/javadsl/HttpClientExampleDocTest.java b/akka-docs-dev/rst/java/code/docs/http/javadsl/HttpClientExampleDocTest.java index 1d8de5c2bc..da3481f9f4 100644 --- a/akka-docs-dev/rst/java/code/docs/http/javadsl/HttpClientExampleDocTest.java +++ b/akka-docs-dev/rst/java/code/docs/http/javadsl/HttpClientExampleDocTest.java @@ -34,7 +34,7 @@ public class HttpClientExampleDocTest { final Future responseFuture = Source.single(HttpRequest.create("/")) .via(connectionFlow) - .runWith(Sink.head(), materializer); + .runWith(Sink.head(), materializer); //#outgoing-connection-example } @@ -58,7 +58,7 @@ public class HttpClientExampleDocTest { Source .single(Pair.create(HttpRequest.create("/"), 42).toScala()) .via(poolClientFlow) - .runWith(Sink.head(), materializer); + .runWith(Sink., Integer>>head(), materializer); //#host-level-example } diff --git a/akka-docs-dev/rst/java/http/client-side/host-level.rst b/akka-docs-dev/rst/java/http/client-side/host-level.rst index cf5493b3ef..d647ed4ab6 100644 --- a/akka-docs-dev/rst/java/http/client-side/host-level.rst +++ b/akka-docs-dev/rst/java/http/client-side/host-level.rst @@ -46,7 +46,7 @@ back ``3`` different client flow instances for the same pool. If each of these c (concurrently) the application will have 12 concurrently running client flow materializations. All of these share the resources of the single pool. -This means that, if the pool's ``pipelining-limit`` is left at ``1`` (effecitvely disabeling pipelining) (effecitvely disabeling pipelining), no more than 12 requests can be open at any time. +This means that, if the pool's ``pipelining-limit`` is left at ``1`` (effecitvely disabeling pipelining), no more than 12 requests can be open at any time. With a ``pipelining-limit`` of ``8`` and 12 concurrent client flow materializations the theoretical open requests maximum is ``96``. @@ -144,4 +144,4 @@ all pools have terminated. Example ------- -.. includecode:: ../../code/docs/http/javadsl/HttpClientExampleDocTest.java#host-level-example \ No newline at end of file +.. includecode:: ../../code/docs/http/javadsl/HttpClientExampleDocTest.java#host-level-example