Addressing review comments

This commit is contained in:
Tadgh
2024-09-27 12:25:09 -04:00
parent 5c4ada54ae
commit f4695b5c04
2 changed files with 4 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ public class AppProperties {
private final List<String> custom_provider_classes = new ArrayList<>();
private List<Integer> search_prefetch_thresholds = List.of(13, 503, 2003, -1);
private List<Integer> search_prefetch_thresholds = new ArrayList<>();
public List<String> getCustomInterceptorClasses() {

View File

@@ -151,7 +151,9 @@ public class FhirServerConfigCommon {
jpaStorageSettings.setLanguageSearchParameterEnabled(appProperties.getLanguage_search_parameter_enabled());
if (!appProperties.getSearch_prefetch_thresholds().isEmpty()) {
jpaStorageSettings.setSearchPreFetchThresholds(appProperties.getSearch_prefetch_thresholds());
}
Integer maxFetchSize = appProperties.getMax_page_size();
jpaStorageSettings.setFetchSizeDefaultMaximum(maxFetchSize);