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

houshengbo 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 4f59433  Remove unnecessary pause in retry method (#3775)
4f59433 is described below

commit 4f5943360bef02514a4688fa1b8e4f2d41b01af8
Author: James Dubee <jwdu...@us.ibm.com>
AuthorDate: Sun Jun 17 08:56:14 2018 -0400

    Remove unnecessary pause in retry method (#3775)
---
 common/scala/src/main/scala/whisk/utils/Retry.scala | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/scala/src/main/scala/whisk/utils/Retry.scala 
b/common/scala/src/main/scala/whisk/utils/Retry.scala
index e4f4d76..9ab3102 100644
--- a/common/scala/src/main/scala/whisk/utils/Retry.scala
+++ b/common/scala/src/main/scala/whisk/utils/Retry.scala
@@ -36,7 +36,6 @@ object retry {
                waitBeforeRetry: Option[Duration] = Some(50.milliseconds),
                retryMessage: Option[String] = None): T = {
     require(N >= 1, "maximum number of fn applications must be greater than 1")
-    waitBeforeRetry.foreach(t => Thread.sleep(t.toMillis)) // initial wait if 
any
 
     try fn
     catch {

-- 
To stop receiving notification emails like this one, please contact
houshen...@apache.org.

Reply via email to