Skip to content

Commit 37e28df

Browse files
authoredAug 23, 2017
[feat] Increase default requestsTimeout to 5000 ms (#243)
That should solve most 'timeout reached while waiting for response' errors.
1 parent b97c96d commit 37e28df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function adapter(uri, opts) {
5050
var pub = opts.pubClient;
5151
var sub = opts.subClient;
5252
var prefix = opts.key || 'socket.io';
53-
var requestsTimeout = opts.requestsTimeout || 1000;
53+
var requestsTimeout = opts.requestsTimeout || 5000;
5454

5555
// init clients if needed
5656
function createClient() {

0 commit comments

Comments
 (0)
Please sign in to comment.