We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a108d31 commit 5122339Copy full SHA for 5122339
doc/services/object-store/migrating-containers.rst
@@ -37,13 +37,13 @@ Requirements
37
38
use Guzzle\Plugin\Backoff\BackoffPlugin;
39
40
- // set timeout in secs
41
- $timeout = 10;
+ // maximum number of retries
+ $maxRetries = 10;
42
43
// set HTTP error codes
44
$httpErrors = array(500, 503, 408);
45
46
- $backoffPlugin = BackoffPlugin::getExponentialBackoff($timeout, $httpErrors);
+ $backoffPlugin = BackoffPlugin::getExponentialBackoff($maxRetries, $httpErrors);
47
$client->addSubscriber($backoffPlugin);
48
49
0 commit comments