starpit opened a new issue #119: add support for retries
URL: https://github.com/apache/incubator-openwhisk-client-js/issues/119
 
 
   in some scenarios, the connection to openwhisk may be unreliable. for 
example, certain versions of nodejs on linux yield routine ETIMEDOUT or 
ESOCKETTIMEOUT or ECONNRESET (especially the last one); all of these errors are 
transient, and can be addressed via retry.
   
   i propose that we can support retries with only a few lines of code change, 
e.g. by wrapping the `rp` call in client.request with a `promise-retry`. PR 
pending

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to