perf(stackPrefetch): Added stackPrefetch config with 20 max concurrent requests
This commit is contained in:
parent
db39cc2fde
commit
8babc8f980
@ -34,4 +34,11 @@ export default function(configuration = {}) {
|
|||||||
cornerstoneTools.toolColors.setActiveColor('rgb(0, 255, 0)');
|
cornerstoneTools.toolColors.setActiveColor('rgb(0, 255, 0)');
|
||||||
|
|
||||||
cornerstoneTools.store.state.touchProximity = 40;
|
cornerstoneTools.store.state.touchProximity = 40;
|
||||||
|
|
||||||
|
// Configure stack prefetch
|
||||||
|
cornerstoneTools.stackPrefetch.setConfiguration({
|
||||||
|
maxImagesToPrefetch: Infinity,
|
||||||
|
preserveExistingPool: false,
|
||||||
|
maxSimultaneousRequests: 20,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user