File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
177177advanced connection setups, such as delaying unencrypted connections only and
178178retrying 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(
You can’t perform that action at this time.
0 commit comments