作者 邓超

优化

... ... @@ -70,6 +70,7 @@ class fob_hot_ai_mail_auto_reply {
while (!$this->isStop()){
try {
$id = redis()->lPop('new_hot_mail_auto_reply_ids');
if($id){
// 检查是否到时间了
... ... @@ -134,6 +135,10 @@ class fob_hot_ai_mail_auto_reply {
}else{
sleep(1);
}
}catch (Throwable $e){
logs($e->getMessage().$e->getFile().$e->getLine());
}
}
}
... ...