Skip to content

Commit

Permalink
WIP - Adjust the test connection request timeout to 2 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
gyobycoders committed Oct 18, 2024
1 parent 086527a commit 56bc7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmetadata-webserver-cli/ui/src/utils/APIUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const saveInit = (initData: SaveInitRequest) =>
APIClient.post('/init', initData);

export const runConnectionTest = (payload: TestConnectionRequest) =>
APIClient.post('/api/test', payload, { timeout: 2000 })
APIClient.post('/api/test', payload, { timeout: 2 * 60 * 1000 })

export const saveConnection = (serviceData: ServicesUpdateRequest) =>
APIClient.post('/connection', serviceData, { withCredentials: true });
Expand Down

0 comments on commit 56bc7b6

Please sign in to comment.