mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 03:25:56 +08:00
Update search.ts
This commit is contained in:
parent
d2742bec4d
commit
35d7202894
@ -96,9 +96,6 @@ export async function searchController(
|
|||||||
const startTime = new Date().getTime();
|
const startTime = new Date().getTime();
|
||||||
|
|
||||||
let limit = req.body.limit;
|
let limit = req.body.limit;
|
||||||
if (req.auth.team_id === "d97c4ceb-290b-4957-8432-2b2a02727d95") {
|
|
||||||
limit = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Buffer results by 50% to account for filtered URLs
|
// Buffer results by 50% to account for filtered URLs
|
||||||
const num_results_buffer = Math.floor(limit * 1.5);
|
const num_results_buffer = Math.floor(limit * 1.5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user