Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-07-19 07:05:43 +0400
committerisaacs <i@izs.me>2011-07-19 07:05:56 +0400
commit695c8d6e2cb3a2cf339dd83b71eb08e43c70fe69 (patch)
tree26000103feb9aa08b9d8cfd6feecf9a84e448182 /lib/search.js
parentbc32de8e9bbdbc86a6be7ce3daa31361ff823dfe (diff)
Make search ridiculously fast.
Mad props to @JasonSmith, @janl, @mikeal, and @maxogden for chipping in with various CouchDB skillz and insights. This is really awesome.
Diffstat (limited to 'lib/search.js')
-rw-r--r--lib/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search.js b/lib/search.js
index e5ad155f8..162a1ee3c 100644
--- a/lib/search.js
+++ b/lib/search.js
@@ -59,7 +59,7 @@ function search (args, silent, staleness, cb_) {
}
function getFilteredData (staleness, args, notArgs, cb) {
- registry.get( "/-/all?stale=update_after", null, staleness, false
+ registry.get( "/-/all", null, staleness, false
, true, function (er, data) {
if (er) return cb(er)
return cb(null, filter(data, args, notArgs))