Renames tileSourceLoaderLimit to ajaxLoaderLimit.

This commit is contained in:
Chili Johnson 2023-03-30 10:49:22 -07:00
parent 55bb9cd3d1
commit 537c2b21ad
2 changed files with 3 additions and 3 deletions

View File

@ -312,7 +312,7 @@
* it is set to 0 allowing the browser to make the maximum number of * it is set to 0 allowing the browser to make the maximum number of
* image requests in parallel as allowed by the browsers policy. * 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 * The maximum number of tile source requests to make concurrently. By default
* it is set to 0 allowing an unlimited number of concurrent requests. * it is set to 0 allowing an unlimited number of concurrent requests.
* *
@ -1343,7 +1343,7 @@ function OpenSeadragon( options ){
//PERFORMANCE SETTINGS //PERFORMANCE SETTINGS
imageLoaderLimit: 0, imageLoaderLimit: 0,
tileSourceLoaderLimit: 0, ajaxLoaderLimit: 0,
maxImageCacheCount: 200, maxImageCacheCount: 200,
timeout: 30000, timeout: 30000,
useCanvas: true, // Use canvas element for drawing if available useCanvas: true, // Use canvas element for drawing if available

View File

@ -396,7 +396,7 @@ $.Viewer = function( options ) {
// TODO: Instantiating a viewer shouldn't have // TODO: Instantiating a viewer shouldn't have
// a side effect on the global queue // a side effect on the global queue
$.ajaxQueue.maxConcurrency = options.tileSourceLoaderLimit; $.ajaxQueue.ajaxLoaderLimit = options.ajaxLoaderLimit;
// Create the tile cache // Create the tile cache
this.tileCache = new $.TileCache({ this.tileCache = new $.TileCache({