Skip to content

Commit

Permalink
Augmentation du timeout à 20s
Browse files Browse the repository at this point in the history
L'API AgenceBIO met 11 secondes à répondre sur la router utilisateur/{userId}/operateurs pour un utilisateurs avec 15 exploitations
  • Loading branch information
jel-atolcd committed Aug 26, 2024
1 parent 4d31f2d commit bfcdd91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cartobio-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { VUE_APP_API_ENDPOINT: baseURL } = import.meta.env
* @typedef {import('@agencebio/cartobio-types').CartoBioFeatureCollection} CartoBioFeatureCollection
*/

export const apiClient = axios.create({ baseURL, timeout: 10000 })
export const apiClient = axios.create({ baseURL, timeout: 20000 })

/**
*
Expand Down

0 comments on commit bfcdd91

Please sign in to comment.