perf(stackPrefetch): Added stackPrefetch config with 20 max concurrent requests

This commit is contained in:
Danny Brown authored and GitHub committed 2020-08-19 22:26:33 -04:00
1 parent db39cc2fde
commit 8babc8f980
1 file changed
+7
@@ -34,4 +34,11 @@ export default function(configuration = {}) {
cornerstoneTools.toolColors.setActiveColor('rgb(0, 255, 0)');
cornerstoneTools.store.state.touchProximity = 40;
// Configure stack prefetch
cornerstoneTools.stackPrefetch.setConfiguration({
maxImagesToPrefetch: Infinity,
preserveExistingPool: false,
maxSimultaneousRequests: 20,
});
}