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:
parent
2e94f46b5b
commit
885b8a6599
@ -95,14 +95,14 @@ export class OpenCandApi extends BaseApiClient {
|
||||
* Get the enrichment statistics for candidates
|
||||
*/
|
||||
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
|
||||
*/
|
||||
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 });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user