fix: allow slower datasource resource listing
This commit is contained in:
@@ -96,7 +96,7 @@ export function validateCredentials(type: string, credentials: Record<string, an
|
||||
}
|
||||
|
||||
export function listResources(id: string) {
|
||||
return get(`/api/v1/datasource/${id}/resources`)
|
||||
return get(`/api/v1/datasource/${id}/resources`, { timeout: 120000 })
|
||||
}
|
||||
|
||||
export function triggerSync(id: string) {
|
||||
|
||||
@@ -214,8 +214,8 @@ instance.interceptors.response.use(
|
||||
}
|
||||
);
|
||||
|
||||
export function get(url: string) {
|
||||
return instance.get(url);
|
||||
export function get(url: string, config?: any) {
|
||||
return instance.get(url, config);
|
||||
}
|
||||
|
||||
export async function getDown(url: string) {
|
||||
|
||||
Reference in New Issue
Block a user