diff --git a/db.js b/db.js index e95f83a..10ef5be 100644 --- a/db.js +++ b/db.js @@ -94,14 +94,6 @@ exports.init = function(dbPath, params, callback) { value: function(logLine) { return _(logLine).pick('number', 'text'); } - }, - { - key: { - buildId: 1 - }, - value: function(logLine) { - return _(logLine).pick('number', 'text'); - } } ], withUniqueId: false diff --git a/distributor.js b/distributor.js index 4b785ce..39cf153 100644 --- a/distributor.js +++ b/distributor.js @@ -53,7 +53,7 @@ exports.init = function(app, callback) { Steppy( function() { db.logLines.find({ - start: {buildId: buildId, numberStr: 0}, + start: {buildId: buildId, numberStr: ''}, }, this.slot()); }, function(err, lines) {