Skip to content

Commit fc961f8

Browse files
authored
Update README.md
1 parent 582dc7b commit fc961f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,18 +173,18 @@ $selective = new ConnectionManagerSelective(array(
173173
));
174174
```
175175

176-
Similarly, you can also combine any other the other connectors to implement more
176+
Similarly, you can also combine any of the other connectors to implement more
177177
advanced connection setups, such as delaying unencrypted connections only and
178178
retrying unreliable hosts:
179179

180180
```php
181181
// delay connection by 2 seconds
182182
$delayed = new ConnectionManagerDelay($connector, 2.0, $loop);
183183

184-
// maximum of 3 tries, each taking no longer than 3 seconds
184+
// maximum of 3 tries, each taking no longer than 2.0 seconds
185185
$retry = new ConnectionManagerRepeat(
186-
new ConnectionManagerTimeout($connector, 3.0, $loop),
187-
2
186+
new ConnectionManagerTimeout($connector, 2.0, $loop),
187+
3
188188
);
189189

190190
$selective = new ConnectionManagerSelective(array(

0 commit comments

Comments
 (0)