mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-17 10:15:56 +08:00
more timeout
This commit is contained in:
parent
d3b6b0da34
commit
f03676cf7a
@ -1,7 +1,7 @@
|
|||||||
import { batchScrape, crawl, creditUsage, extract, map, scrape, search, tokenUsage } from "./lib";
|
import { batchScrape, crawl, creditUsage, extract, map, scrape, search, tokenUsage } from "./lib";
|
||||||
|
|
||||||
const sleep = (ms: number) => new Promise(x => setTimeout(() => x(true), ms));
|
const sleep = (ms: number) => new Promise(x => setTimeout(() => x(true), ms));
|
||||||
const sleepForBatchBilling = () => sleep(20000);
|
const sleepForBatchBilling = () => sleep(40000);
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
// Wait for previous test runs to stop billing processing
|
// Wait for previous test runs to stop billing processing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user