From 904c3ceb5b489b4039621db6e7f21c907631c52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 9 Jun 2025 05:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=BB=9Aswoole=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/command/Dmtask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/command/Dmtask.php b/app/command/Dmtask.php index d1f1aab..f69eb53 100644 --- a/app/command/Dmtask.php +++ b/app/command/Dmtask.php @@ -45,7 +45,7 @@ class Dmtask extends Command private function runtask() { - \Co::set(['hook_flags' => SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_NATIVE_CURL]); + \Co::set(['hook_flags' => SWOOLE_HOOK_ALL]); \Co\run(function () { $date = date("Ymd"); $count = config_get('run_count', null, true) ?? 0;