projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9e873c2
)
only add to queue if we are not waiting to start one..
author
Alan
<alan@roojs.com>
Mon, 23 Aug 2021 06:23:38 +0000
(14:23 +0800)
committer
Alan
<alan@roojs.com>
Mon, 23 Aug 2021 06:23:38 +0000
(14:23 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
12ec3dd
..
46f7e8f
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-229,7
+229,8
@@
class Pman_Core_Notify extends Pman
$pushed = array();
$requeue = array();
while (true) {
- if ($w->fetch()) {
+ // only add if we don't have any queued up..
+ if (empty($ar) && $w->fetch()) {
$ar[] = clone($w);
$total--;
}