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

Add INITIALIZE_VALIDATOR_SESSION to infra configs #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

projkov
Copy link
Collaborator

@projkov projkov commented Jan 29, 2025

When I encountered an OOM problem on the cluster, I realized that the application couldn't start if the TX server was unavailable. This happens because the inferno-core library initializes the validator at startup.

I think we can prevent the validator from initializing at startup. This could help in cases where the TX server hasn't started yet.

@KyleOps If you have other ideas, I'm happy to discuss them.
Please review the changes.

References:

  1. An application does not start if the TX server is not available for some reason au-fhir-core-inferno#243
  2. https://github.com/inferno-framework/inferno-core/blob/4331857a54c4bf8ef91e4f9223d4633317f0c49a/lib/inferno/config/boot/validator.rb#L5
  3. https://github.com/inferno-framework/inferno-core/blob/4331857a54c4bf8ef91e4f9223d4633317f0c49a/lib/inferno/jobs/invoke_validator_session.rb#L4

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.

2 participants