increase worker rpc wait time before timeout
This commit is contained in:
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…
x
Reference in New Issue
Block a user