Skip to content

Commit

Permalink
[feat] Increase default requestsTimeout to 5000 ms (#243)
Browse files Browse the repository at this point in the history
That should solve most 'timeout reached while waiting for response' errors.
  • Loading branch information
darrachequesne authored Aug 23, 2017
1 parent b97c96d commit 37e28df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function adapter(uri, opts) {
var pub = opts.pubClient;
var sub = opts.subClient;
var prefix = opts.key || 'socket.io';
var requestsTimeout = opts.requestsTimeout || 1000;
var requestsTimeout = opts.requestsTimeout || 5000;

// init clients if needed
function createClient() {
Expand Down

0 comments on commit 37e28df

Please sign in to comment.