Merge pull request #21 from riffusion/increase_local_timeout

Update local use timeout from 15 to 60 seconds
This commit is contained in:
Hayk Martiros 2022-12-18 22:19:36 -08:00 committed by GitHub
commit 2a4af89535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();