Increase timeout for call to get worker capacity (#14095)

This commit is contained in:
Abhishek Agarwal 2023-04-16 21:24:13 +05:30 committed by GitHub
parent a8eb3f2f57
commit 8affcaa7eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ import { Api } from '../singletons';
export async function getClusterCapacity(): Promise<CapacityInfo> {
const workersResponse = await Api.instance.get('/druid/indexer/v1/workers', {
timeout: 500,
timeout: 5000,
});
const usedTaskSlots = sum(