Skip to content

Commit

Permalink
Updating timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
7emansell committed Nov 21, 2024
1 parent 923b2b2 commit e2d0c67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

## [0.2.3] 2024-11-21

### Updated

- Update timeout on API request to 14 seconds

## [0.2.2] 2024-11-20

### Updated
Expand Down
2 changes: 1 addition & 1 deletion app/src/utils/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const apiResponse = async (
apiUrl += queryString;
}

const timeout = 7000;
const timeout = 14000;

const fetchWithTimeout = (url: string, opts: RequestInit) => {
return Promise.race([
Expand Down

0 comments on commit e2d0c67

Please sign in to comment.