Permalink
Browse files

Disable batchSize on metric queries.

As best I can tell, this was causing it to return no more than 1,000 results,
even though the intent was to paginate after the first 1,000. Fishy.
  • Loading branch information...
1 parent 6c47292 commit f211edfa706c1eb498c6262666b392e625311352 @mbostock mbostock committed Apr 2, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/cube/server/metric.js
  2. +1 −1 package.json
@@ -5,7 +5,7 @@ var util = require("util"),
reduces = require("./reduces");
var metric_fields = {v: 1},
- metric_options = {sort: {_id: 1}, batchSize: 1000},
+ metric_options = {sort: {_id: 1}},
event_options = {sort: {t: 1}, batchSize: 1000};
// Query for metrics.
View
@@ -1,6 +1,6 @@
{
"name": "cube",
- "version": "0.1.1",
+ "version": "0.1.2",
"description": "A system for time series visualization using MongoDB, Node and D3.",
"keywords": ["time series", "visualization"],
"homepage": "http://square.github.com/cube/",

0 comments on commit f211edf

Please sign in to comment.