变更
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@ class CurlClient extends ClientAbstracts
|
|||||||
* @return void
|
* @return void
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private function retry()
|
private function retry(): void
|
||||||
{
|
{
|
||||||
if (Context::increment('retry') <= $this->retryNum) {
|
if (Context::increment('retry') <= $this->retryNum) {
|
||||||
sleep($this->retryTimeout);
|
sleep($this->retryTimeout);
|
||||||
|
|||||||
Reference in New Issue
Block a user