Permalink
Browse files

Restore batchSize with proper sort order.

  • Loading branch information...
1 parent e6763f2 commit 9d71c7014e7efacc289d819bc800e07d6b2f0a01 @mbostock mbostock committed Apr 3, 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}},
+ metric_options = {sort: {"_id.t": 1}, batchSize: 1000},
event_options = {sort: {t: 1}, batchSize: 1000};
// Query for metrics.
View
@@ -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/",

0 comments on commit 9d71c70

Please sign in to comment.