fix: increase scan proxy timeout from 3 to 5 minutes
This commit is contained in:
@@ -15,7 +15,7 @@ export async function POST(request: NextRequest) {
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body,
|
body,
|
||||||
signal: AbortSignal.timeout(180000), // 3 min — multi-page scan + LLM
|
signal: AbortSignal.timeout(300000), // 5 min — multi-page scan + LLM calls
|
||||||
})
|
})
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
|
|||||||
Reference in New Issue
Block a user