Task #3956

Bug #3419: [SDKs] Perl client library should retry failed API requests after errors like Gateway Timeout

Add num_retries arguments throughout Perl SDK

Added by Brett Smith about 3 years ago. Updated 7 months ago.

Status:ClosedStart date:09/23/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Remaining (hours)0.0

Description

  • Add a num_retries argument to Arvados::Request::process_request. It handles the actual retry loop (a la Python), backing off between requests that should be retried.
  • Add num_retries arguments to Arvados::ResourceMethod::execute and the save, update_attributes, and reload methods of Arvados::ResourceProxy. These should simply be propagated down to the appropriate lower calls, so they reach Arvados::Request. This should be a "keyword argument" in the methods that already take those.

History

#1 Updated by Brett Smith about 3 years ago

  • Description updated (diff)

#2 Updated by Tom Morris about 1 year ago

  • Assignee changed from Brett Smith to Tom Morris

#3 Updated by Tom Morris 7 months ago

  • Assignee deleted (Tom Morris)

#4 Updated by Tom Morris 7 months ago

  • Status changed from New to Closed
  • Remaining (hours) set to 0.0

Also available in: Atom PDF