Skip to content
Snippets Groups Projects
Unverified Commit 1e772e42 authored by Heitor Tanoue's avatar Heitor Tanoue Committed by GitHub
Browse files

chore: change cloud timeouts (#32139)

parent d38e1120
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ export async function getWorkspaceAccessTokenWithScope(scope = '', throwOnError
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
method: 'POST',
body,
timeout: 3000,
timeout: 5000,
});
payload = await response.json();
......
......@@ -103,7 +103,7 @@ const getSupportedVersionsFromCloud = async () => {
const response = await handleResponse<SupportedVersions>(
fetch(releaseEndpoint, {
headers,
timeout: 3000,
timeout: 5000,
}),
);
......
......@@ -98,7 +98,7 @@ const fetchWorkspaceClientPayload = async ({
Authorization: `Bearer ${token}`,
},
body: workspaceRegistrationData,
timeout: 3000,
timeout: 5000,
});
if (!response.ok) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment