From e763b7b156c0b67ff7c7faa1d55e444414553b4d Mon Sep 17 00:00:00 2001 From: Will Sewell Date: Mon, 3 May 2021 13:36:22 +0100 Subject: [PATCH] Reduce batch size to 20 Signed-off-by: Will Sewell --- plugins/catalog-react/src/hooks/useRelatedEntities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-react/src/hooks/useRelatedEntities.ts b/plugins/catalog-react/src/hooks/useRelatedEntities.ts index 15182d3c2f..5649a90f52 100644 --- a/plugins/catalog-react/src/hooks/useRelatedEntities.ts +++ b/plugins/catalog-react/src/hooks/useRelatedEntities.ts @@ -18,7 +18,7 @@ import { useApi } from '@backstage/core'; import { useAsync } from 'react-use'; import { catalogApiRef } from '../api'; -const BATCH_SIZE = 100; +const BATCH_SIZE = 20; export function useRelatedEntities( entity: Entity,