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

Introduce a Timeout for FHIR Search Requests #84

Open
alexanderkiel opened this issue Oct 5, 2023 · 1 comment
Open

Introduce a Timeout for FHIR Search Requests #84

alexanderkiel opened this issue Oct 5, 2023 · 1 comment

Comments

@alexanderkiel
Copy link
Member

In case the FHIR server is slow to respond, it would be good to have a configurable timeout in order to fail fast and free resources. The timeout will apply on single page basis and not for the whole FHIR search request chain.

The env var should be called FLARE_FHIR_REQUEST_TIMEOUT. The default should be 30 seconds.

@KutSaleh
Copy link

KutSaleh commented Nov 6, 2024

Is this implemented, yet?

I'm asking because I'm suddenly getting timout errors from flare matching the suggested 30 secconds. But my FHIR server has a much higher read idle timeout configured. The error message is

{
    "error": "connection timed out after 30000 ms: my.fhir.server.de/123.123.123.123:443"
}

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

No branches or pull requests

2 participants