Skip to content

Commit

Permalink
Loop forever while testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdm committed Sep 23, 2013
1 parent f004697 commit bd0a56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$client->connect("localhost", 1883, 5);
$client->subscribe('/#', 1);

for ($i = 0; $i < 10; $i++) {
while (true) {
$client->loop();
}

Expand Down

0 comments on commit bd0a56f

Please sign in to comment.