aumentando timeout para endpoints de estatistica
All checks were successful
Frontend Build and Deploy / build (push) Successful in 1m46s
All checks were successful
Frontend Build and Deploy / build (push) Successful in 1m46s
This commit is contained in:
@@ -95,14 +95,14 @@ export class OpenCandApi extends BaseApiClient {
|
|||||||
* Get the enrichment statistics for candidates
|
* Get the enrichment statistics for candidates
|
||||||
*/
|
*/
|
||||||
async getStatisticsEnrichment(): Promise<EnrichmentResponse[]> {
|
async getStatisticsEnrichment(): Promise<EnrichmentResponse[]> {
|
||||||
return this.get<EnrichmentResponse[]>(`/v1/estatistica/enriquecimento`);
|
return this.get<EnrichmentResponse[]>(`/v1/estatistica/enriquecimento`, { timeout: 90000 });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the sum of values for a specific type and grouping
|
* Get the sum of values for a specific type and grouping
|
||||||
*/
|
*/
|
||||||
async getStatisticsValueSum(request: ValueSumRequest): Promise<ValueSumResponse> {
|
async getStatisticsValueSum(request: ValueSumRequest): Promise<ValueSumResponse> {
|
||||||
return this.post<ValueSumResponse>(`/v1/estatistica/values-sum`, request);
|
return this.post<ValueSumResponse>(`/v1/estatistica/values-sum`, request, { timeout: 90000 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user