featureservice
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -5,3 +5,7 @@ # Change Log | ||
## [1.4.3] - 2015-01-04 | ||
## [1.4.4] - 2016-01-07 | ||
### Fixed | ||
* Removed bad reference to `this` | ||
## [1.4.3] - 2016-01-04 | ||
### Changed | ||
@@ -161,3 +165,4 @@ * Concurrency is throttled when encountering errors in the paging queue | ||
[1.4.2]: https://github.com/koopjs/featureservice/compare/v1.4.2...v1.4.3 | ||
[1.4.4]: https://github.com/koopjs/featureservice/compare/v1.4.3...v1.4.4 | ||
[1.4.3]: https://github.com/koopjs/featureservice/compare/v1.4.2...v1.4.3 | ||
[1.4.2]: https://github.com/koopjs/featureservice/compare/v1.4.1...v1.4.2 | ||
@@ -164,0 +169,0 @@ [1.4.1]: https://github.com/koopjs/featureservice/compare/v1.4.0...v1.4.1 |
@@ -600,2 +600,3 @@ var queue = require('async').queue | ||
FeatureService.prototype._catchErrors = function (task, error, url, cb) { | ||
var self = this | ||
// be defensive in case there was no json payload | ||
@@ -624,4 +625,4 @@ error.body = error.body || {} | ||
function throttleQueue () { | ||
var concurrency = this.pageQueue.concurrency / 2 | ||
this.pageQueue.concurrency = concurrency > 1 ? Math.ceil(concurrency) : 1 | ||
var concurrency = self.pageQueue.concurrency / 2 | ||
self.pageQueue.concurrency = concurrency > 1 ? Math.ceil(concurrency) : 1 | ||
} | ||
@@ -628,0 +629,0 @@ } |
{ | ||
"name": "featureservice", | ||
"description": "Get all features from an Esri Feature Service", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"author": "Chris Helm", | ||
@@ -6,0 +6,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1369183
1766