mirror of
https://github.com/apache/druid.git
synced 2025-02-28 06:19:13 +00:00
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…
x
Reference in New Issue
Block a user