You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cb...@apache.org on 2017/08/21 12:36:10 UTC

[incubator-openwhisk] branch master updated: Bump toStrictEntity timeout to 30 seconds. (#2644)

This is an automated email from the ASF dual-hosted git repository.

cbickel 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 ed0f741  Bump toStrictEntity timeout to 30 seconds. (#2644)
ed0f741 is described below

commit ed0f7413cdbace41fba796deb7ef05cfe1ef2ac1
Author: Markus Thömmes <ma...@me.com>
AuthorDate: Mon Aug 21 14:36:07 2017 +0200

    Bump toStrictEntity timeout to 30 seconds. (#2644)
    
    1 second is a rather small timeout for `toStrictEntity`. If a garbage collection hits around it, requests might randomly and unnecessary fail. Bumping that timeout to something quite high shouldn't impact general operations at all.
---
 common/scala/src/main/scala/whisk/http/BasicHttpService.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/scala/src/main/scala/whisk/http/BasicHttpService.scala b/common/scala/src/main/scala/whisk/http/BasicHttpService.scala
index 1df098e..0c92146 100644
--- a/common/scala/src/main/scala/whisk/http/BasicHttpService.scala
+++ b/common/scala/src/main/scala/whisk/http/BasicHttpService.scala
@@ -92,7 +92,7 @@ trait BasicHttpService extends Directives with TransactionCounter {
                 prioritizeRejections {
                     DebuggingDirectives.logRequest(logRequestInfo _) {
                         DebuggingDirectives.logRequestResult(logResponseInfo _) {
-                            toStrictEntity(1.second) {
+                            toStrictEntity(30.seconds) {
                                 routes
                             }
                         }

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