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

Querying instances of local studies in Orthanc Raw is slow and times out #531

Open
p-j-smith opened this issue Dec 3, 2024 · 0 comments · May be fixed by #532
Open

Querying instances of local studies in Orthanc Raw is slow and times out #531

p-j-smith opened this issue Dec 3, 2024 · 0 comments · May be fixed by #532

Comments

@p-j-smith
Copy link
Contributor

What happened?

The query to get a list of instances in a local study in Orthanc Raw is sometimes very slow (10+ minutes) and leads to Timeout errors in the imaging api.

Relevant log output (optional)

No response

What did you expect? (optional)

I would expect the call to /studies/id/instances should return within the HTTP timeout limit.

I've tried:

  • calling different endpoints (e.g. /studies/series to get a list of series in the study and then /series/instances to get the instances in a series, but the call to /series/instances is very slow if there are a large number of instances in the series)
  • specifying only the SOPInstanceUID tag should be returned in the call to /study/id/instances (although all MainDicomTags are still returned)
  • making the call to /studies/id/instances synchronously

but none of these to solve the issue. We should perhaps use the DICOM timeout in this api call so we at least don't run into the timeout issues.

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 a pull request may close this issue.

1 participant