Skip to content

Commit

Permalink
Restore batchSize with proper sort order.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Apr 3, 2012
1 parent e6763f2 commit 9d71c70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cube/server/metric.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var util = require("util"),
reduces = require("./reduces");

var metric_fields = {v: 1},
metric_options = {sort: {_id: 1}},
metric_options = {sort: {"_id.t": 1}, batchSize: 1000},
event_options = {sort: {t: 1}, batchSize: 1000};

// Query for metrics.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cube",
"version": "0.1.2",
"version": "0.1.3",
"description": "A system for time series visualization using MongoDB, Node and D3.",
"keywords": ["time series", "visualization"],
"homepage": "http://square.github.com/cube/",
Expand Down

0 comments on commit 9d71c70

Please sign in to comment.