fix upload image trip
This commit is contained in:
@@ -62,7 +62,11 @@ async function getJobSummary(jobName: string): Promise<JobSummary> {
|
||||
}
|
||||
|
||||
// Daftar cron yang dipantau. Tambah entry baru saat menambah cron route handler.
|
||||
const TRACKED_JOBS = ["auto-complete-trips", "process-email-jobs"] as const;
|
||||
const TRACKED_JOBS = [
|
||||
"auto-complete-trips",
|
||||
"process-email-jobs",
|
||||
"cleanup-trip-images",
|
||||
] as const;
|
||||
|
||||
function healthOf(summary: JobSummary): "ok" | "stale" | "failed" {
|
||||
if (summary.lastRun?.status === "FAILED") return "failed";
|
||||
|
||||
Reference in New Issue
Block a user