Skip to content

Commit

Permalink
Elongate the timeout time
Browse files Browse the repository at this point in the history
  • Loading branch information
ccxzhang committed Oct 10, 2024
1 parent cc326ea commit 333c420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/service/useApi.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const fetchData = async (apiUrl, username, password, timeout = 1200000) => {
export const fetchData = async (apiUrl, username, password, timeout = 3600000) => {
const controller = new AbortController()
const { signal } = controller
const fetchOptions = {
Expand Down

0 comments on commit 333c420

Please sign in to comment.