strict-rate-limiter
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -135,4 +135,4 @@ // imports | ||
if (retries >= 4) { | ||
var err = new Error('Max. number retries reached'); | ||
err.name = 'MAX_RETRY'; | ||
var err = new Error('Max. number of retries reached'); | ||
err.code = 'MAX_RETRY'; | ||
return callback(err); | ||
@@ -139,0 +139,0 @@ } |
{ | ||
"name": "strict-rate-limiter", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Rate limiter backed by redis with strict concurrency rules for scalable applications", | ||
"main": "index.js", | ||
"homepage": "https://github.com/getc/strict-rate-limiter", | ||
"scripts": { | ||
@@ -18,3 +19,7 @@ "test": "jshint && jasmine-node spec --verbose --captureExceptions --forceexit" | ||
"q": "^1.0.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/getc/strict-rate-limiter.git" | ||
} | ||
} |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
11185
1
0