From b5121c0e25b1170af3163bd6b849ba41cd21a0b5 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Fri, 16 Jun 2023 22:52:34 +0800 Subject: [PATCH] yh --- app/Helper/Efps/AbstractApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Helper/Efps/AbstractApi.php b/app/Helper/Efps/AbstractApi.php index 8011d38..111cdd1 100644 --- a/app/Helper/Efps/AbstractApi.php +++ b/app/Helper/Efps/AbstractApi.php @@ -55,9 +55,9 @@ abstract class AbstractApi self::$client = new Client([ 'base_uri' => self::getConfig('baseUrl'), 'handler' => HandlerStack::create(new CoroutineHandler()), - 'timeout' => 5, + 'timeout' => 20, 'swoole' => [ - 'timeout' => 10, + 'timeout' => 20, 'socket_buffer_size' => 1024 * 1024 * 2, ], ]);