Addressing review comments
This commit is contained in:
@@ -104,7 +104,7 @@ public class AppProperties {
|
|||||||
|
|
||||||
private final List<String> custom_provider_classes = new ArrayList<>();
|
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() {
|
public List<String> getCustomInterceptorClasses() {
|
||||||
|
|||||||
@@ -151,7 +151,9 @@ public class FhirServerConfigCommon {
|
|||||||
jpaStorageSettings.setLanguageSearchParameterEnabled(appProperties.getLanguage_search_parameter_enabled());
|
jpaStorageSettings.setLanguageSearchParameterEnabled(appProperties.getLanguage_search_parameter_enabled());
|
||||||
|
|
||||||
|
|
||||||
|
if (!appProperties.getSearch_prefetch_thresholds().isEmpty()) {
|
||||||
jpaStorageSettings.setSearchPreFetchThresholds(appProperties.getSearch_prefetch_thresholds());
|
jpaStorageSettings.setSearchPreFetchThresholds(appProperties.getSearch_prefetch_thresholds());
|
||||||
|
}
|
||||||
|
|
||||||
Integer maxFetchSize = appProperties.getMax_page_size();
|
Integer maxFetchSize = appProperties.getMax_page_size();
|
||||||
jpaStorageSettings.setFetchSizeDefaultMaximum(maxFetchSize);
|
jpaStorageSettings.setFetchSizeDefaultMaximum(maxFetchSize);
|
||||||
|
|||||||
Reference in New Issue
Block a user