openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject [incubator-openwhisk] branch master updated: Change the idle timeout to 90 seconds for client connection settings (#3013)
Date Tue, 12 Dec 2017 19:46:07 GMT
This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 3acad8b  Change the idle timeout to 90 seconds for client connection settings (#3013)
3acad8b is described below

commit 3acad8b11fc7ff4bf0923b3ba01b86eca8b543d3
Author: Vincent <shou@us.ibm.com>
AuthorDate: Tue Dec 12 14:46:03 2017 -0500

    Change the idle timeout to 90 seconds for client connection settings (#3013)
---
 tests/src/test/resources/application.conf      | 2 ++
 tests/src/test/scala/common/rest/WskRest.scala | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/src/test/resources/application.conf b/tests/src/test/resources/application.conf
index 750c19d..039f2f4 100644
--- a/tests/src/test/resources/application.conf
+++ b/tests/src/test/resources/application.conf
@@ -6,3 +6,5 @@ whisk.spi {
 
 # Blocking requests fall back to non-blocking after ~60s
 akka.http.client.idle-timeout = 90 s
+akka.http.host-connection-pool.idle-timeout = 90 s
+akka.http.host-connection-pool.client.idle-timeout = 90 s
diff --git a/tests/src/test/scala/common/rest/WskRest.scala b/tests/src/test/scala/common/rest/WskRest.scala
index a8f93ba..4d83d8b 100644
--- a/tests/src/test/scala/common/rest/WskRest.scala
+++ b/tests/src/test/scala/common/rest/WskRest.scala
@@ -1181,7 +1181,7 @@ class RunWskRestCmd() extends FlatSpec with RunWskCmd with Matchers
with ScalaFu
 
   implicit val config = PatienceConfig(100 seconds, 15 milliseconds)
   implicit val materializer = ActorMaterializer()
-  val idleTimeout = 5 minutes
+  val idleTimeout = 90 seconds
   val queueSize = 10
   val maxOpenRequest = 1024
   val basePath = Path("/api/v1")

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Mime
View raw message