Skip to content

Commit

Permalink
Make java default as well for people who dont update their app proper…
Browse files Browse the repository at this point in the history
…ties on upgrade
  • Loading branch information
tadgh committed Sep 27, 2024
1 parent bfac1d0 commit 5c4ada5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public class AppProperties {

private final List<String> custom_provider_classes = new ArrayList<>();

private List<Integer> search_prefetch_thresholds = new ArrayList<>();
private List<Integer> search_prefetch_thresholds = List.of(13, 503, 2003, -1);


public List<String> getCustomInterceptorClasses() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public JpaStorageSettings jpaStorageSettings(AppProperties appProperties) {
jpaStorageSettings.setExpungeEnabled(appProperties.getExpunge_enabled());
jpaStorageSettings.setLanguageSearchParameterEnabled(appProperties.getLanguage_search_parameter_enabled());


jpaStorageSettings.setSearchPreFetchThresholds(appProperties.getSearch_prefetch_thresholds());

Integer maxFetchSize = appProperties.getMax_page_size();
Expand Down

0 comments on commit 5c4ada5

Please sign in to comment.