Merge pull request #21 from riffusion/increase_local_timeout
Update local use timeout from 15 to 60 seconds
This commit is contained in:
commit
2a4af89535
|
@ -8,7 +8,7 @@ export default async function handler(req, res) {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: headers,
|
headers: headers,
|
||||||
body: req.body,
|
body: req.body,
|
||||||
signal: AbortSignal.timeout(15000),
|
signal: AbortSignal.timeout(60000),
|
||||||
});
|
});
|
||||||
|
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|
Loading…
Reference in New Issue