You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/02/27 22:53:48 UTC

[GitHub] alexkli commented on issue #148: handle 429 responses with exponential backoff retries

alexkli commented 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.
   
   

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


With regards,
Apache Git Services