alexkli edited a comment on issue #148: handle 429 responses with exponential 
backoff retries
URL: 
https://github.com/apache/incubator-openwhisk-client-js/issues/148#issuecomment-468063748
 
 
   Some thoughts on a possible implementation:
   * AFAICS, a retry would have to be added in 
[Resources.operation()](https://github.com/apache/incubator-openwhisk-client-js/blob/master/lib/resources.js#L50)
 where it would apply to most operations (actions, triggers, ...).
   * Maybe it's necessary to limit it to certain operations only (GETs, invoke 
+ fire) or maybe not, since it's a generic HTTP mechanism.
   * The API should allow to configure the timeouts, e.g. as part of the 
`openwhisk` constructor options.
   
   I could provide a PR if that helps.
   

----------------------------------------------------------------
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

Reply via email to