mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-18 05:56:02 +08:00
Update queue-worker.ts
This commit is contained in:
parent
47f28c231d
commit
2ac1017538
@ -1366,7 +1366,7 @@ async function processJob(job: Job & { id: string }, token: string) {
|
||||
creditsToBeBilled = 150;
|
||||
}
|
||||
} else if (doc.metadata.numPages !== undefined && doc.metadata.numPages > 1) {
|
||||
const creditsPerPDFPage = 5;
|
||||
const creditsPerPDFPage = 1;
|
||||
creditsToBeBilled = creditsPerPDFPage * doc.metadata.numPages;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user