reduce cacheTtl

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-10-23 16:40:44 +02:00
parent 18bc2d867c
commit 762f6091d4
2 changed files with 2 additions and 2 deletions
@@ -121,7 +121,7 @@ export interface DefaultEntityPresentationApiOptions {
* When to expire entities that have been loaded from the catalog API and
* cached for a while.
*
* @defaultValue 30 seconds
* @defaultValue 10 seconds
* @remarks
*
* The higher this value, the lower the load on the catalog API, but also the
@@ -28,7 +28,7 @@ import PeopleIcon from '@material-ui/icons/People';
import PersonIcon from '@material-ui/icons/Person';
import { DefaultEntityPresentationApiRenderer } from './DefaultEntityPresentationApi';
export const DEFAULT_CACHE_TTL: HumanDuration = { seconds: 30 };
export const DEFAULT_CACHE_TTL: HumanDuration = { seconds: 10 };
export const DEFAULT_BATCH_DELAY: HumanDuration = { milliseconds: 50 };