正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -81,7 +81,7 @@ class SyncToEsCmd { | @@ -81,7 +81,7 @@ class SyncToEsCmd { | ||
| 81 | pcntl_signal_dispatch(); | 81 | pcntl_signal_dispatch(); |
| 82 | 82 | ||
| 83 | // 是否超过来最大执行时间 | 83 | // 是否超过来最大执行时间 |
| 84 | - if(time()-43200 > $this->startTime){ | 84 | + if(time()-3600 > $this->startTime){ |
| 85 | return true; | 85 | return true; |
| 86 | } | 86 | } |
| 87 | 87 | ||
| @@ -434,7 +434,7 @@ class SyncToEsCmd { | @@ -434,7 +434,7 @@ class SyncToEsCmd { | ||
| 434 | public function getPostid($email_id,$udate){ | 434 | public function getPostid($email_id,$udate){ |
| 435 | 435 | ||
| 436 | //每60秒验证一次 | 436 | //每60秒验证一次 |
| 437 | - if(redis()->add('fob_bind_mail_times_check:'.$email_id,1,60)){ | 437 | + if(redis()->add('fob_bind_mail_times_check:'.$email_id,1,120)){ |
| 438 | $lastpostid = $this->fob_db->throw()->value("select `post_id` from `e_mail_binds_log` where `source` = 2 and `email_id` = '{$email_id}' order by `id` desc limit 1"); | 438 | $lastpostid = $this->fob_db->throw()->value("select `post_id` from `e_mail_binds_log` where `source` = 2 and `email_id` = '{$email_id}' order by `id` desc limit 1"); |
| 439 | // 如果找不到了 | 439 | // 如果找不到了 |
| 440 | $thelast = $this->fob_db->throw()->first("select `id`,`post_id`,`source`,`email`,`email_id` from `e_mail_binds` where `source` = 2 and `email_id` = '{$email_id}' and `deleted_at` is null order by `id` desc limit 1"); | 440 | $thelast = $this->fob_db->throw()->first("select `id`,`post_id`,`source`,`email`,`email_id` from `e_mail_binds` where `source` = 2 and `email_id` = '{$email_id}' and `deleted_at` is null order by `id` desc limit 1"); |
-
请 注册 或 登录 后发表评论