From 0ea0588e05b78176047f97bebebd977c5c5a22ad Mon Sep 17 00:00:00 2001 From: Gregory Duchatelet Date: Tue, 19 Feb 2019 16:58:33 +0100 Subject: [PATCH] fix infinite loop --- src/RetryStrategy/RetryStrategy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RetryStrategy/RetryStrategy.php b/src/RetryStrategy/RetryStrategy.php index d3e9d15..3c68828 100644 --- a/src/RetryStrategy/RetryStrategy.php +++ b/src/RetryStrategy/RetryStrategy.php @@ -12,7 +12,7 @@ trait RetryStrategy { private $retryLimit; - public function __construct($retryLimit = INF) + public function __construct($retryLimit = 8) { $this->retryLimit = $retryLimit; }