This commit is contained in:
2022-05-31 08:24:44 +08:00
parent c149afa3f8
commit e6b10bbd70
+2 -2
View File
@@ -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);