projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ed15c
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 20 Aug 2015 02:45:12 +0000
(10:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 20 Aug 2015 02:45:12 +0000
(10:45 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
d6e70a6
..
984a8ab
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-204,7
+204,7
@@
class Pman_Core_Notify extends Pman
$w->autoJoin();
- $ar = $w->fetchAll();
+ $ar =
array(); //
$w->fetchAll();
if (!empty($opts['list'])) {
if (empty($ar)) {
@@
-224,7
+224,9
@@
class Pman_Core_Notify extends Pman
$pushed = array();
$requeue = array();
while (true) {
-
+ if ($w->fetch()) {
+ $ar[] = clone($w);
+ }
$this->logecho("BATCH SIZE: ". count($ar) );