|
|
@ -839,7 +839,7 @@ HK.initializeIndexWorkers = function (Env, config, _cb) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const txid = Util.uid();
|
|
|
|
const txid = Util.uid();
|
|
|
|
msg.txid = txid;
|
|
|
|
msg.txid = txid;
|
|
|
|
response.expect(txid, cb, 45000);
|
|
|
|
response.expect(txid, cb, 60000);
|
|
|
|
workers[workerIndex].send(msg);
|
|
|
|
workers[workerIndex].send(msg);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -997,8 +997,8 @@ HK.initializeValidationWorkers = function (Env) {
|
|
|
|
|
|
|
|
|
|
|
|
var txid = msg.txid = Util.uid();
|
|
|
|
var txid = msg.txid = Util.uid();
|
|
|
|
|
|
|
|
|
|
|
|
// expect a response within 15s
|
|
|
|
// expect a response within 45s
|
|
|
|
response.expect(txid, cb, 15000);
|
|
|
|
response.expect(txid, cb, 60000);
|
|
|
|
|
|
|
|
|
|
|
|
// Send the request
|
|
|
|
// Send the request
|
|
|
|
workers[nextWorker].send(msg);
|
|
|
|
workers[nextWorker].send(msg);
|
|
|
|