Commit 4af65c32 authored by 王源's avatar 王源 🎧

修改请求消息中心超时时间

parent 29d3f36b
...@@ -43,7 +43,7 @@ class MessageCenter ...@@ -43,7 +43,7 @@ class MessageCenter
$options = [ $options = [
'base_uri' => $this->config->get('message.center.domain') . '/api/', 'base_uri' => $this->config->get('message.center.domain') . '/api/',
'handler' => HandlerStack::create(new CoroutineHandler()), 'handler' => HandlerStack::create(new CoroutineHandler()),
'timeout' => 5, 'timeout' => 60,
]; ];
$proxy = $this->config->get('message.center.proxy'); $proxy = $this->config->get('message.center.proxy');
if ($proxy) { if ($proxy) {
......
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