projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c014b1
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Mon, 29 Apr 2013 02:45:10 +0000
(10:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 29 Apr 2013 02:45:10 +0000
(10:45 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
9ead6e2
..
1f20ebf
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-113,8
+113,13
@@
class Pman_Core_Notify extends Pman
print_r($opts);
}
$this->opts = $opts;
- $this->max_pool_size = $opts['poolsize'];
+ if (!empty($opts['poolsize'])) {
+ $this->max_pool_size = $opts['poolsize'];
+ }
+ if (empty($opts['limit'])) {
+ $opts['limit'] = '1000';
+ }
//date_default_timezone_set('UTC');
// phpinfo();exit;
$showold = !empty($opts['old']);