作者 邓超

x

... ... @@ -30,7 +30,7 @@ class AutoMail {
echo "\n";
if(redis()->get('resync_to_es_inbox') == 1){
redis()->set('resync_to_es_inbox',2);
redis()->set('resync_to_es_inbox',2,3600);
$post_ids = fob_mysql()->all("select `post_id` from `e_mail_binds` group by `post_id`");
... ... @@ -46,6 +46,7 @@ class AutoMail {
echo "postid {$post_id} inbox {$total} auto {$autoTotal}\n";
}
redis()->set('resync_to_es_inbox',2,600);
}
echo "end ";
... ...