mirror of https://github.com/apache/druid.git
Increase timeout for call to get worker capacity (#14095)
This commit is contained in:
parent
a8eb3f2f57
commit
8affcaa7eb
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue