|
|
@ -79,8 +79,10 @@ var multi_caching = function(caches) { |
|
|
|
|
|
|
|
function fillCallbacks(err, data) { |
|
|
|
self.queues[key].forEach(function(task) { |
|
|
|
var taskDomain = task.domain || domain.create(); |
|
|
|
taskDomain.bind(task.cb)(err, data); |
|
|
|
process.nextTick(function() { |
|
|
|
var taskDomain = task.domain || domain.create(); |
|
|
|
taskDomain.bind(task.cb)(err, data); |
|
|
|
}); |
|
|
|
}); |
|
|
|
delete self.queues[key]; |
|
|
|
} |
|
|
|