Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# backo
# backo2

Simple exponential backoff because the others seem to have weird abstractions.
Simple exponential backoff because the others seem to have weird abstractions. It's based on [backo](https://github.com/segmentio/backo). Difference is that this one exposes setter methods on the instance: `setMin`, `setMax` and `setJitter`.

## Installation

```
$ npm install backo
$ npm install backo2
```

## Options
Expand All @@ -18,7 +18,7 @@ $ npm install backo
## Example

```js
var Backoff = require('backo');
var Backoff = require('backo2');
var backoff = new Backoff({ min: 100, max: 20000 });

setTimeout(function(){
Expand Down