From bea8b21cd0fdcb1a858d98748b44161389a9c847 Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Thu, 16 Oct 2025 14:08:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=81=9C=E6=8A=93=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queue/config/daemonconf.php | 4 ++-- queue/deal/get_weibo_behavior.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/queue/config/daemonconf.php b/queue/config/daemonconf.php index d5340e8..764bd31 100755 --- a/queue/config/daemonconf.php +++ b/queue/config/daemonconf.php @@ -12,8 +12,8 @@ $GLOBALS['DAEMON_MAXTIME'] = array( ); $GLOBALS['DAEMON_LIST'] = array( - SPIDER_WEIBO_BEHAVIOR => 'get_weibo_behavior.php', - SPIDER_WEIBO_COMMENT => 'spider_weibo_comment.php', +// SPIDER_WEIBO_BEHAVIOR => 'get_weibo_behavior.php', +// SPIDER_WEIBO_COMMENT => 'spider_weibo_comment.php', ); $GLOBALS['DAEMON_LIST_DESC'] = array( diff --git a/queue/deal/get_weibo_behavior.php b/queue/deal/get_weibo_behavior.php index 6086c0d..fe7f359 100755 --- a/queue/deal/get_weibo_behavior.php +++ b/queue/deal/get_weibo_behavior.php @@ -26,7 +26,7 @@ class getWeiboBehavior extends dealBase { } if (empty($ipdata)) { sleep(2); - return false; + exit; } $obj->proxy_ip = $ipdata['ip']; -- 1.8.3.1