Skip to content

Commit 8f477de

Browse files
author
Shakeel Mohamed
committed
Change retry example to retry 5 times
1 parent a1cf6d6 commit 8f477de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/retry.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ var SplunkLogger = require("../index").Logger;
2424
/**
2525
* Only the token property is required.
2626
*
27-
* Here we've set maxRetries to 5,
27+
* Here we've set maxRetries to 10,
2828
* If there are any connection errors the request to Splunk will
29-
* be retried up to 5 times.
29+
* be retried up to 10 times.
3030
* The default is 0.
3131
*/
3232
var config = {
3333
token: "your-token-here",
3434
url: "https://localhost:8088",
3535
level: "info",
36-
maxRetries: 5
36+
maxRetries: 10
3737
};
3838

3939
// Create a new logger

0 commit comments

Comments
 (0)