),
);
-
+ var $max_pool_size = 10;
var $table = 'core_notify';
var $target = 'Core/NotifySend';
if ($this->poolHasDomain($p->person_id_email)) {
if (in_array($p->person_id_email, $pushed)) {
// it's been pushed to the end, and nothing has
- // been pushed since.
+ // been pushed since.s
// give up, let the next run sort it out.
break;
}
$this->run($p->id,$p->person_id_email);
+
+
+
$pushed = array();
}
}
echo "POOL SIZE: ". count($pool) ."\n";
$this->pool = $pool;
- if (count($pool) < 10) {
+ if (count($pool) < $this->max_pool_size) {
return true;
}
return false;