Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed Mar 22, 2022
1 parent d84e13d commit a5de389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ use Orangesoft\Throttler\Collection\Node;
$throttler = new Throttler(
new MultipleDynamicStrategy(
new RoundRobinStrategy(new InMemoryCounter(start: 0)),
new RandomStrategy()
new RandomStrategy(),
)
);
```
Expand Down Expand Up @@ -302,7 +302,7 @@ use Orangesoft\Throttler\Collection\Node;
$throttler = new Throttler(
new ClusterDetermineStrategy(
new ClusterSet(new RoundRobinStrategy(new InMemoryCounter(start: 0)), ['cluster1']),
new ClusterSet(new RandomStrategy(), ['cluster2', 'cluster3'])
new ClusterSet(new RandomStrategy(), ['cluster2', 'cluster3']),
)
);
```
Expand Down

0 comments on commit a5de389

Please sign in to comment.