Skip to content

Commit

Permalink
Merge "[FAB-6469] NodeSDK - keepalive set to 6min"
Browse files Browse the repository at this point in the history
  • Loading branch information
jimthematrix authored and Gerrit Code Review committed Oct 5, 2017
2 parents c84e3ad + 1e3ce1d commit 4800f64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fabric-client/lib/EventHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ var EventHub = class {

// check on the keep alive options
// the keep alive interval
var options = utils.checkAndAddConfigSetting('grpc.http2.keepalive_time', 300, this._ep._options); //grpc 1.2.4
options = utils.checkAndAddConfigSetting('grpc.keepalive_time_ms', 300000, options); //grpc 1.3.7
var options = utils.checkAndAddConfigSetting('grpc.http2.keepalive_time', 360, this._ep._options); //grpc 1.2.4
options = utils.checkAndAddConfigSetting('grpc.keepalive_time_ms', 360000, options); //grpc 1.3.7
// how long should we wait for the keep alive response
let request_timeout_ms = utils.getConfigSetting('request-timeout', 3000);
let request_timeout = request_timeout_ms / 1000;
Expand Down

0 comments on commit 4800f64

Please sign in to comment.