increase SOS lookup timeout to 20s for slower state portals
This commit is contained in:
parent
e8a98b1130
commit
a6c7d2aef8
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ router.get("/api/v1/dot/lookup", async (req, res) => {
|
|||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ entity_name: name, state_code: state }),
|
||||
signal: AbortSignal.timeout(12000),
|
||||
signal: AbortSignal.timeout(20000),
|
||||
});
|
||||
if (sosResp.ok) {
|
||||
sosStatus = (await sosResp.json()) as { found?: boolean; status?: string; error?: string };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue