Skip to content

Commit

Permalink
Merge 810d32f into faf2199
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrussalem committed Apr 20, 2018
2 parents faf2199 + 810d32f commit e17967f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
language: node_js

branches:
only:
- master

before_install:
- if [[ `node -v` == v0* ]]; then npm i -g npm@3; fi
- if [[ `node -v` != v0* && `npm -v` != 5* ]]; then npm i -g npm@5; fi
Expand Down
4 changes: 4 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,3 +483,7 @@
----------------

- use request@2.81.0 for Node 0.10 compatibility

2.21.3 2018-04-18
-----------------
- Increase happn client login timeout to 60000.
2 changes: 1 addition & 1 deletion lib/client/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@
options = {};//skip sending up the options
} else message.options = options;

if (!options.timeout) options.timeout = 20000;//this is not used on the server side
if (!options.timeout) options.timeout = 50000;//this is not used on the server side

message.protocol = PROTOCOL;

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "happn",
"description": "pub/sub api as a service using primus and mongo & redis or nedb, can work as cluster, single process or embedded using nedb, use in production at your own risk",
"version": "2.21.2",
"version": "2.21.3",
"main": "./lib/index",
"protocol": "1.1.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/c7_db_iterate.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('c7_ds_iterate', function () {
}

before('it creates 2 test dss', function (callback) {
this.timeout(4000);
this.timeout(8000);
getService(serviceConfig1, function (e, serviceInstance) {
if (e) return callback(e);
serviceInstance1 = serviceInstance;
Expand Down
1 change: 1 addition & 0 deletions test/e7-login-failures-reconnect.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ describe(require('path').basename(__filename), function () {
});

it('will not reconnect after shutdown', function () {
this.timeout(120000);
var client;

return Happn.client.create(
Expand Down

0 comments on commit e17967f

Please sign in to comment.