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

[OHIF/Viewers: IDC-1957] Switch to using request pool manager. #103

Merged
merged 3 commits into from
Aug 10, 2020

Conversation

JamesAPetts
Copy link
Member

Switched to using the cornerstone-tools requestPoolManager, so that we don't send 1000 requests at the same time to the PACS on imageDataObject.loadImage().

This is a breaking change, as we the imageDataObject no-longer has insertPixelDataPromises, instead the consumer may subscribe to an imageDataObject's onPixelDataInserted and/or onAllPixelDataInserted hooks. All the relavent examples have been updated to reflect this. As we are still pre-1.0, I have avoided a major version bump.

Switched to using cornerstone prefetchers so we don't send 1000 requests
at the same time. This is a breaking change to the API as we switch to a
sub model for the events.

BREAKING CHANGE: The imageDataObject no-longer has insertPixelDataPromises, insteads the
consumer may subscribe to an imageDataObject's onPixelDataInserted
and/or onAllPixelDataInserted.
@JamesAPetts JamesAPetts merged commit 93710f7 into master Aug 10, 2020
@JamesAPetts JamesAPetts deleted the IDC-1957-prefetching branch August 10, 2020 12:35
@ohif-bot
Copy link
Member

🎉 This PR is included in version 0.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants