Commit 1ea125fc by 朱继来

调整超时时间

parent 2be495d2
Showing with 1 additions and 1 deletions
...@@ -40,7 +40,7 @@ class CheckLogin ...@@ -40,7 +40,7 @@ class CheckLogin
$client = new \GuzzleHttp\Client(); $client = new \GuzzleHttp\Client();
$rsp = $client->request('GET', $login['check'], [ $rsp = $client->request('GET', $login['check'], [
'headers' => ['Cookie' => $cookie], 'headers' => ['Cookie' => $cookie],
'connect_timeout' => 1, 'connect_timeout' => 5,
'timeout' => 10, 'timeout' => 10,
'verify' => false, 'verify' => false,
]); ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment