Skip to content

Commit

Permalink
changed api call time (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavya-egov authored Jun 10, 2024
1 parent 1ba2098 commit 93e4d42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const useResourceData = async (data, hierarchyType, type, tenantId, id) =
});
status = searchResponse?.ResourceDetails?.[0]?.status;
if (status !== "failed" && status !== "invalid" && status !== "completed") {
await new Promise((resolve) => setTimeout(resolve, 10000));
await new Promise((resolve) => setTimeout(resolve, 5000));
}
}
if (Error.isError) {
Expand Down

0 comments on commit 93e4d42

Please sign in to comment.