Notify.php
authorAlan Knowles <alan@roojs.com>
Mon, 29 Apr 2013 02:53:14 +0000 (10:53 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 29 Apr 2013 02:53:14 +0000 (10:53 +0800)
Notify.php

index eff7279..ebbfc3e 100644 (file)
@@ -195,7 +195,7 @@ class Pman_Core_Notify extends Pman
             exit;
         }
         
-        
+        echo "BATCH SIZE: ".  count($ar) . "\n");
         $pushed = array();
         while (true) {
             if (empty($ar)) {
@@ -238,7 +238,7 @@ class Pman_Core_Notify extends Pman
         // we should have a time limit here...
         while(count($this->pool)) {
             $this->poolfree();
-             sleep(1);
+             sleep(3);
         }
         
         die("DONE\n");