Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed Apr 24, 2021
1 parent 7c09600 commit c86d4dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Total Downloads](https://img.shields.io/packagist/dt/orangesoft/backoff?style=plastic)](https://packagist.org/packages/orangesoft/backoff)
[![License](https://img.shields.io/packagist/l/orangesoft/backoff?style=plastic&color=428F7E)](https://packagist.org/packages/orangesoft/backoff)

Backoff algorithm implementation with helpful tools.
Backoff algorithm implementation.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Also you must choose a strategy for generating a backoff time. Available are str
$backoffTime = $backoff->generate($attempt = 4);

// float(16000)
$backoffTime->toMilliseconds();
$backoffTime->asMilliseconds();
```

Backoff generates a duration time which is based on the base time and the choices strategy. As a result, you can work with such values of time as a second, millisecond, microsecond and nanosecond.
Expand Down

0 comments on commit c86d4dd

Please sign in to comment.