Permalink
Browse files

minor check.

  • Loading branch information...
1 parent c762f1d commit 33fb7a3a50ca3cda7b731cc09114cab14c079fb6 @chjj committed Dec 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/charged.js
View
@@ -993,7 +993,7 @@ Charged.prototype._page = function(path, query, callback, format) {
concurrency = Charged.concurrencyLimit;
}
- if (concurrency <= 0) {
+ if (!(concurrency > 0) || !isFinite(concurrency)) {
concurrency = 1;
}

0 comments on commit 33fb7a3

Please sign in to comment.