正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -30,7 +30,7 @@ class AutoMail { | @@ -30,7 +30,7 @@ class AutoMail { | ||
| 30 | echo "\n"; | 30 | echo "\n"; |
| 31 | if(redis()->get('resync_to_es_inbox') == 1){ | 31 | if(redis()->get('resync_to_es_inbox') == 1){ |
| 32 | 32 | ||
| 33 | - redis()->set('resync_to_es_inbox',2); | 33 | + redis()->set('resync_to_es_inbox',2,3600); |
| 34 | 34 | ||
| 35 | $post_ids = fob_mysql()->all("select `post_id` from `e_mail_binds` group by `post_id`"); | 35 | $post_ids = fob_mysql()->all("select `post_id` from `e_mail_binds` group by `post_id`"); |
| 36 | 36 | ||
| @@ -46,6 +46,7 @@ class AutoMail { | @@ -46,6 +46,7 @@ class AutoMail { | ||
| 46 | echo "postid {$post_id} inbox {$total} auto {$autoTotal}\n"; | 46 | echo "postid {$post_id} inbox {$total} auto {$autoTotal}\n"; |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | + redis()->set('resync_to_es_inbox',2,600); | ||
| 49 | } | 50 | } |
| 50 | 51 | ||
| 51 | echo "end "; | 52 | echo "end "; |
-
请 注册 或 登录 后发表评论