fix log errors
[Pman.Core] / Notify.php
index 705cb6b..5a33985 100644 (file)
@@ -232,7 +232,7 @@ class Pman_Core_Notify extends Pman
             $w->limit($opts['limit']); // we can run 1000 ...
         }
         
-        
+        $w->server_id = $this->server->id;
         
     
         
@@ -295,7 +295,9 @@ class Pman_Core_Notify extends Pman
             if ($black !== false) {
                 
                 if (false === $this->server->updateNotifyToNextServer($p)) {
-                    $p->updateState("????");
+                    $ev = $this->addEvent('NOTIFY', $p, 'BLACKLISTED  FROM our DB');
+                    $this->server->updateNotifyToNextServer($w,  strtotime('NOW +  5 MINUTES'),true);
+                   // $this->errorHandler( $ev->remarks);
                 }
                 
                 continue;