Skip to content

Commit

Permalink
resolve merge conflict - one second longpolling
Browse files Browse the repository at this point in the history
  • Loading branch information
shindigira committed May 15, 2024
2 parents 3f6849b + 4dac8a3 commit 86880b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
6 changes: 6 additions & 0 deletions src/api/requests/fetchFilingSubmissionLatest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ async function retryRequestWithDelay(
}

return new Promise(resolve => {
// NOTE: Set to one second for AWS load testing, will revert before mvp
// https://github.com/cfpb/sbl-frontend/issues/497
// setTimeout(
// () => resolve(axiosInstance(response.config)),
// getRetryDelay(axiosInstance.defaults.retryCount),
// );
setTimeout(() => resolve(axiosInstance(response.config)), STANDARD_TIMEOUT);
});
}
Expand Down
11 changes: 0 additions & 11 deletions src/pages/Filing/FilingApp/FilingErrors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,6 @@ function FilingErrors(): JSX.Element {
if (isFetchingGetSubmissionLatest || isLoadingInstitution)
return <LoadingContent />;

console.log(
`${lei}-${year} file/submit info:`,
actualDataGetSubmissionLatest,
);
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition

console.log(
'errors warnings summary:',
getErrorsWarningsSummary(actualDataGetSubmissionLatest),
);

const onPreviousClick = (): void => {
if (isStep2) {
setIsStep2(false);
Expand Down

0 comments on commit 86880b0

Please sign in to comment.