mrutkows commented on a change in pull request #46: Add retry support to every
request
URL:
https://github.com/apache/incubator-openwhisk-client-go/pull/46#discussion_r154093586
##########
File path: whisk/client.go
##########
@@ -49,6 +50,8 @@ const (
ExitWithErrorOnTimeout = true
ExitWithSuccessOnTimeout = false
DEFAULT_HTTP_TIMEOUT = 30
+ DEFAULT_ATTEMPTS = 5
+ DEFAULT_INTERVAL = 2 * time.Second
Review comment:
Also, 3 attempts seems to be an industry standard...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services