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

Updated by Brett Smith over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Tom Morris over 7 years ago

  • Assigned To changed from Brett Smith to Tom Morris
Actions #3

Updated by Tom Morris about 7 years ago

  • Assigned To deleted (Tom Morris)
Actions #4

Updated by Tom Morris about 7 years ago

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

Also available in: Atom PDF