Commit 8ecc3db8 by HanSon

sync check增加超时设置

1 parent cbb901a9
......@@ -32,7 +32,7 @@ class Sync
]);
try{
$content = http()->get($url);
$content = http()->get($url, [], ['connect_timeout' => 60]);
preg_match('/window.synccheck=\{retcode:"(\d+)",selector:"(\d+)"\}/', $content, $matches);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!