Project

General

Profile

Actions

Task #3956

closed

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 over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Target version:
-

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

Also available in: Atom PDF