mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 00:26:10 +03:00
Renames tileSourceLoaderLimit to ajaxLoaderLimit.
This commit is contained in:
parent
55bb9cd3d1
commit
537c2b21ad
@ -312,7 +312,7 @@
|
||||
* it is set to 0 allowing the browser to make the maximum number of
|
||||
* image requests in parallel as allowed by the browsers policy.
|
||||
*
|
||||
* @property {Number} [tileSourceLoaderLimit=0]
|
||||
* @property {Number} [ajaxLoaderLimit=0]
|
||||
* The maximum number of tile source requests to make concurrently. By default
|
||||
* it is set to 0 allowing an unlimited number of concurrent requests.
|
||||
*
|
||||
@ -1343,7 +1343,7 @@ function OpenSeadragon( options ){
|
||||
|
||||
//PERFORMANCE SETTINGS
|
||||
imageLoaderLimit: 0,
|
||||
tileSourceLoaderLimit: 0,
|
||||
ajaxLoaderLimit: 0,
|
||||
maxImageCacheCount: 200,
|
||||
timeout: 30000,
|
||||
useCanvas: true, // Use canvas element for drawing if available
|
||||
|
@ -396,7 +396,7 @@ $.Viewer = function( options ) {
|
||||
|
||||
// TODO: Instantiating a viewer shouldn't have
|
||||
// a side effect on the global queue
|
||||
$.ajaxQueue.maxConcurrency = options.tileSourceLoaderLimit;
|
||||
$.ajaxQueue.ajaxLoaderLimit = options.ajaxLoaderLimit;
|
||||
|
||||
// Create the tile cache
|
||||
this.tileCache = new $.TileCache({
|
||||
|
Loading…
Reference in New Issue
Block a user