From a5de389b77afa5e16a8f3a675f50f447546ff065 Mon Sep 17 00:00:00 2001 From: Aleksandr Denisyuk Date: Tue, 22 Mar 2022 16:00:06 +0300 Subject: [PATCH] Update docs --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 7081ec2..6f56579 100644 --- a/docs/index.md +++ b/docs/index.md @@ -257,7 +257,7 @@ use Orangesoft\Throttler\Collection\Node; $throttler = new Throttler( new MultipleDynamicStrategy( new RoundRobinStrategy(new InMemoryCounter(start: 0)), - new RandomStrategy() + new RandomStrategy(), ) ); ``` @@ -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']), ) ); ```