This commit is contained in:
Your Name
2026-09-09 15:47:48 +08:00
parent bd5d5c5f08
commit cb10e75ead
98 changed files with 7031 additions and 804 deletions
+3 -2
View File
@@ -82,7 +82,8 @@ class Crontab extends Command
// 记录错误信息
CrontabModel::where('id', $item['id'])->update([
'error' => $e->getMessage(),
'status' => CrontabEnum::ERROR
// IM 补偿任务需要下轮继续重试;保留错误原因,避免一次云端抖动永久停掉归档。
'status' => $item['command'] === 'sync_im_chat_archive' ? CrontabEnum::START : CrontabEnum::ERROR
]);
} finally {
$endTime = microtime(true);
@@ -98,4 +99,4 @@ class Crontab extends Command
]);
}
}
}
}