Skip to content

Commit

Permalink
修复 timeout超时问题 @811174989 in #7
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhihai committed Aug 31, 2023
1 parent 8d7bff1 commit 1b5000c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public function delay(int $seconds)

public function timeout(int $seconds)
{
$this->options['timeout'] = $seconds * 1000;
$this->options['timeout'] = $seconds;

return $this;
}
Expand Down

0 comments on commit 1b5000c

Please sign in to comment.