X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fspush%2Fbrisk-spush.php;h=3e3f60122fe399436e84f2ebff3083b071e2855b;hb=73881e35cfd5f8a48cf5d2b7436c40a3101a75f6;hp=5c2db293a0b03b662d1bd4972d97221f212ce567;hpb=f6f1a15037fb7c0d23bb51aee4b5ea11b485316b;p=brisk.git diff --git a/web/spush/brisk-spush.php b/web/spush/brisk-spush.php index 5c2db29..3e3f601 100755 --- a/web/spush/brisk-spush.php +++ b/web/spush/brisk-spush.php @@ -222,7 +222,9 @@ function main() stream_set_blocking($list, $blocking_mode); # Set the stream to non-blocking while ($main_loop) { - echo "IN LOOP\n"; + $curtime = time(); + printf("IN LOOP: Current opened: %d\n", count($socks)); + /* Prepare the read array */ if ($shutdown) $read = array_merge(array("$in" => $in), $socks);