compute metadata in the same child process that builds indexes
This commit is contained in:
@@ -247,11 +247,10 @@ module.exports.create = function (config, cb) {
|
||||
channelExpirationMs: config.channelExpirationMs,
|
||||
verbose: config.verbose,
|
||||
openFileLimit: config.openFileLimit,
|
||||
}, w(function (err, computeIndex) {
|
||||
}, w(function (err) {
|
||||
if (err) {
|
||||
throw new Error(err);
|
||||
}
|
||||
Env.computeIndex = computeIndex;
|
||||
}));
|
||||
}).nThen(function (w) {
|
||||
// create a task store
|
||||
|
||||
Reference in New Issue
Block a user