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'];