increase worker rpc wait time before timeout

pull/1/head
ansuz 5 years ago
parent 33e8e65507
commit 5f2d7c8dcf

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

Loading…
Cancel
Save