protected function failed_event_retry($event_id)
 {
     return PGQ::failed_event_retry($this->log, $this->pg_src_con, $qname, $cname, $event_id);
 }
Example #2
0
 /**
  * Helper function failed_event_retry_all
  */
 public static function failed_event_retry_all($log, $pgcon, $qname, $cname)
 {
     $allok = True;
     foreach (PGQ::failed_event_list($log, $pgcon, $qname, $cname) as $event_id => $event) {
         $allok = $allok && PGQ::failed_event_retry($log, $pgcon, $qname, $cname, $event_id);
         if (!$allok) {
             return False;
         }
     }
     return True;
 }