Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Setting for prefetch thresholds #742

Merged
merged 6 commits into from
Oct 28, 2024

Conversation

tadgh
Copy link
Collaborator

@tadgh tadgh commented Sep 25, 2024

Related to discussion here: hapifhir/hapi-fhir#6109

  • expose prefetch threshold setting
  • add docs

@bashir2

@tadgh
Copy link
Collaborator Author

tadgh commented Sep 27, 2024

@bashir2 this look better?

Copy link

@bashir2 bashir2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tadgh for the quick fix.

src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java Outdated Show resolved Hide resolved
@dotasek dotasek self-requested a review October 25, 2024 17:35
Copy link
Contributor

@dotasek dotasek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Tracing startup shows the settings being set via jpaStorageSettings.setSearchPreFetchThresholds in FhirServerConfigCommon

Can confirm what @tadgh was saying with regard to defaults; if the setting is empty in application.yaml, the default values from HAPI FHIR are used (link below)

https://github.com/hapifhir/hapi-fhir/blob/71cb097aa647657e7073990dc16d90d566020bb4/hapi-fhir-storage/src/main/java/ca/uhn/fhir/jpa/api/config/JpaStorageSettings.java#L192

@dotasek dotasek merged commit 48a141b into master Oct 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants