变更
This commit is contained in:
+2
-2
@@ -151,8 +151,8 @@ 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