diff --git a/src/events.js b/src/events.js index 7f0f3a7ec2..9767f9093a 100644 --- a/src/events.js +++ b/src/events.js @@ -128,7 +128,7 @@ var utils = require('../public/src/utils'); callback = callback || function() {}; batch.processSortedSet('events:time', function(eids, next) { - events.deleteEvents(eids, callback); + events.deleteEvents(eids, next); }, {alwaysStartAt: 0}, callback); };