Commit 66832760 authored by shajiaiming's avatar shajiaiming

curl超时时间

parent 8701540f
......@@ -231,7 +231,11 @@ class Chain33Service
$params = [
'data' => $data
];
return $this->send($params, 'Chain33.SendTransaction');
$timeout = [
'connect_timeout' => 50000,
'timeout_ms' => 50000
];
return $this->send($params, 'Chain33.SendTransaction', $timeout);
}
public function QueryTransaction($data)
......
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 to comment