From d9c291bee32d479dd69344650706830a471e4121 Mon Sep 17 00:00:00 2001 From: david082321 <7046617+david082321@users.noreply.github.com> Date: Mon, 11 Sep 2023 19:02:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=8F=96=E5=BE=97=E9=BB=91?= =?UTF-8?q?=E5=90=8D=E5=8D=95=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/functions.php b/utils/functions.php index b6d9de2..7f10514 100644 --- a/utils/functions.php +++ b/utils/functions.php @@ -50,6 +50,7 @@ function get_blacklist($uid) { curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POST, false); + curl_setopt($ch, CURLOPT_TIMEOUT, 3); curl_setopt($ch, CURLOPT_HTTPHEADER, array( "User-Agent: ".AGENT ));