Skip to content

Commit b191890

Browse files
authoredApr 4, 2018
Updated default timeout
Changed default timeout value to 5 seconds so that it matches the Python and Go libraries.
1 parent 378698d commit b191890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/client/conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports.DEFAULT_INGEST_ENDPOINT = 'https://ingest.signalfx.com';
66
exports.DEFAULT_API_ENDPOINT = 'https://api.signalfx.com';
77
exports.DEFAULT_SIGNALFLOW_WEBSOCKET_ENDPOINT = 'wss://stream.signalfx.com';
88
exports.DEFAULT_BATCH_SIZE = 300;// Will wait for this many requests before posting
9-
exports.DEFAULT_TIMEOUT = 1000; // Default timeout is 1s
9+
exports.DEFAULT_TIMEOUT = 5000; // Default timeout is 5s
1010

1111
// Whether to request SignalFlow WebSocket message compression.
1212
exports.COMPRESS_SIGNALFLOW_WEBSOCKET_MESSAGES = true;

0 commit comments

Comments
 (0)
Please sign in to comment.