作者 邓超

x

... ... @@ -35,8 +35,8 @@ class HotMail {
private function start(){
_echo('启动预热邮件处理 '.getmypid());
if(redis()->add('hot_mail_sync',1,60)){
if(redis()->add('hot_mail_sync2',1,60)){
_echo('正在计算数据');
$maxId = $this->db->value("select `id` from `lists` order by `id` desc limit 1");
$id = 0;
while (1){
... ... @@ -52,7 +52,7 @@ class HotMail {
break;
}
}
_echo('计算完成');
}
... ...