Skip to content

Commit

Permalink
update primus dist
Browse files Browse the repository at this point in the history
  • Loading branch information
nomilous committed Jun 8, 2017
1 parent 1f2106f commit 4be3f43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/public/browser_primus.js
Original file line number Diff line number Diff line change
Expand Up @@ -2103,10 +2103,10 @@ function Primus(url, options) {
options.reconnect = 'reconnect' in options ? options.reconnect : {};

// Heartbeat ping interval. Not really an interval, it's a timeout (re)set on socket connected or arriving pong.
options.ping = 'ping' in options ? options.ping : 60e3;
options.ping = 'ping' in options ? options.ping : 25000;

// Heartbeat pong response timeout. Client closes the socket after this long if server does not pong the ping.
options.pong = 'pong' in options ? options.pong : 20e3;
options.pong = 'pong' in options ? options.pong : 10e3;

// Reconnect strategies.
options.strategy = 'strategy' in options ? options.strategy : [];
Expand Down Expand Up @@ -3328,7 +3328,7 @@ Primus.prototype.decoder = function decoder(data, fn) {

fn(err, data);
};
Primus.prototype.version = "6.0.0";
Primus.prototype.version = "6.0.1";

if (
'undefined' !== typeof document
Expand Down

0 comments on commit 4be3f43

Please sign in to comment.