Skip to content

Commit

Permalink
Change retry example to retry 10 times
Browse files Browse the repository at this point in the history
  • Loading branch information
Shakeel Mohamed committed Dec 9, 2015
1 parent a1cf6d6 commit 0d3ea9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/retry.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ var SplunkLogger = require("../index").Logger;
/**
* Only the token property is required.
*
* Here we've set maxRetries to 5,
* Here we've set maxRetries to 10,
* If there are any connection errors the request to Splunk will
* be retried up to 5 times.
* be retried up to 10 times.
* The default is 0.
*/
var config = {
token: "your-token-here",
url: "https://localhost:8088",
level: "info",
maxRetries: 5
maxRetries: 10
};

// Create a new logger
Expand Down

0 comments on commit 0d3ea9f

Please sign in to comment.