Skip to content

Commit

Permalink
remove test from example
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaffle committed Sep 23, 2011
1 parent 85216df commit be90cfd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions README.md
Expand Up @@ -117,9 +117,6 @@ or use PHP (see php/events.php)
// event-stream
for ($i = intval($lastEventId) + 1; $i < 100; $i++) {
echo "id: $i\n";
if (mt_rand(0, 20) < 5) {
exit(); // drop connection
}
echo "data: $i;\n\n";
sleep(1);
}
Expand Down
3 changes: 0 additions & 3 deletions php/events.php
Expand Up @@ -21,9 +21,6 @@

for ($i = intval($lastEventId) + 1; $i < 100; $i++) {
echo "id: $i\n";
if (mt_rand(0, 20) < 5) {
exit(); // drop connection
}
echo "data: $i;\n\n";
sleep(1);
}
Expand Down

0 comments on commit be90cfd

Please sign in to comment.