This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new 1371cf06e Undo removal of doc ForkJoinPool mention
1371cf06e is described below
commit 1371cf06e2bd6a79be6afa977e3e45ced0f398bb
Author: Matthew de Detrich <[email protected]>
AuthorDate: Fri Mar 3 10:52:17 2023 +0100
Undo removal of doc ForkJoinPool mention
---
build.sbt | 2 ++
.../main/paradox/handling-blocking-operations-in-pekko-http-routes.md | 1 +
2 files changed, 3 insertions(+)
diff --git a/build.sbt b/build.sbt
index 847f9df14..6dd21947c 100644
--- a/build.sbt
+++ b/build.sbt
@@ -405,6 +405,8 @@ lazy val docs = project("docs")
"jackson.xml.version" -> Dependencies.jacksonXmlVersion,
"scalafix.version" -> _root_.scalafix.sbt.BuildInfo.scalafixVersion, //
grab from scalafix plugin directly
"extref.pekko-docs.base_url" ->
s"https://pekko.apache.org/docs/pekko/current/%s",
+ "javadoc.java.base_url" ->
"https://docs.oracle.com/en/java/javase/11/docs/api/java.base/",
+ "javadoc.java.link_style" -> "direct",
"javadoc.org.apache.pekko.base_url" ->
s"https://pekko.apache.org/japi/pekko/${PekkoDependency.docs.link}",
"javadoc.org.apache.pekko.link_style" -> "direct",
"scaladoc.org.apache.pekko.base_url" ->
s"https://pekko.apache.org/api/pekko/${PekkoDependency.docs.link}",
diff --git
a/docs/src/main/paradox/handling-blocking-operations-in-pekko-http-routes.md
b/docs/src/main/paradox/handling-blocking-operations-in-pekko-http-routes.md
index 5f9d32737..780ba2788 100644
--- a/docs/src/main/paradox/handling-blocking-operations-in-pekko-http-routes.md
+++ b/docs/src/main/paradox/handling-blocking-operations-in-pekko-http-routes.md
@@ -66,6 +66,7 @@ For example, the above screenshot shows an Apache Pekko FJP
dispatchers threads,
named "`default-akka.default-dispatcher2,3,4`" going into the blocking state,
after having been idle.
It can be observed that the number of new threads increases,
"`default-akka.actor.default-dispatcher 18,19,20,...`"
however they go to sleep state immediately, thus wasting the resources.
+@java[The same happens to the global
@javadoc[ForkJoinPool](java.util.concurrent.ForkJoinPool) when using Java
Futures.]
The number of such new threads depends on the default dispatcher configuration,
but it will likely not exceed 50. Since many POST requests are being
processed, the entire
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]