Skip to content

Commit

Permalink
Clarify unit
Browse files Browse the repository at this point in the history
  • Loading branch information
batmat committed Sep 14, 2018
1 parent 67c4759 commit 48ba752
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 @@ -22,7 +22,7 @@ class rpRetry {
logger.info(`Encountered error ${err.message} for ${options.method} request to ${options.uri}, retry count ${tryCount}`);
tryCount -= 1;
if (tryCount) {
let delay = options.delay || 100; // default delay between retries
let delay = options.delay || 100; // default ms delay between retries
if (options.factor) {
delay *= options.factor;
}
Expand Down

1 comment on commit 48ba752

@markstos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.