作者 邓超

x

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