mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 14:20:36 +08:00
fix(queue-worker): add cancelled to crawl log
This commit is contained in:
parent
d0a8382a5b
commit
6e54942265
@ -233,7 +233,7 @@ async function processJob(job: Job, token: string) {
|
||||
await logJob({
|
||||
job_id: job.data.crawl_id,
|
||||
success: jobStatus === "completed",
|
||||
message: message,
|
||||
message: sc.cancelled ? "Cancelled" : message,
|
||||
num_docs: fullDocs.length,
|
||||
docs: [],
|
||||
time_taken: (Date.now() - sc.createdAt) / 1000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user