Skip to content

Commit 5ba59b6

Browse files
committed
124369: Update prefetch config comments
1 parent 13e039e commit 5ba59b6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

config/config.example.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,11 @@ comcolSelectionSort:
381381
sortField: 'dc.title'
382382
sortDirection: 'ASC'
383383

384+
# REST response prefetching configuration
384385
prefetch:
386+
# The URLs for which the response will be prefetched
385387
urls:
386388
- /api
387389
- /api/discover
390+
# How often the responses are refreshed in milliseconds
388391
refreshInterval: 60000

src/config/prefetch-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface PrefetchConfig extends Config {
1212
*/
1313
bootstrap: Record<string, RawBootstrapResponse>;
1414
/**
15-
* How often the HAL endpoints should be refreshed
15+
* How often the responses should be refreshed in milliseconds
1616
*/
1717
refreshInterval: number;
1818
}

0 commit comments

Comments
 (0)