projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
80358ca
)
Prune.php
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Dec 2015 09:22:54 +0000
(17:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Dec 2015 09:22:54 +0000
(17:22 +0800)
Prune.php
patch
|
blob
|
history
diff --git
a/Prune.php
b/Prune.php
index
594181c
..
036b412
100644
(file)
--- a/
Prune.php
+++ b/
Prune.php
@@
-56,7
+56,7
@@
class Pman_Core_Prune extends Pman
");
// notificication events occur alot - so we should trash them more frequently..
");
// notificication events occur alot - so we should trash them more frequently..
- $f = DB_DataObject::Factory('reader_article');
+
/*
$f = DB_DataObject::Factory('reader_article');
$f->query("
DELETE FROM Events where
event_when < NOW() - INTERVAL 1 MONTH
$f->query("
DELETE FROM Events where
event_when < NOW() - INTERVAL 1 MONTH
@@
-64,7
+64,7
@@
class Pman_Core_Prune extends Pman
action IN ('NOTIFY')
LIMIT 100000
");
action IN ('NOTIFY')
LIMIT 100000
");
-
+ */
// rather than deleting them all, it's probably best to just delete notify events that occured to often.
// eg. when we tried to deliver multiple times without success...
// rather than deleting them all, it's probably best to just delete notify events that occured to often.
// eg. when we tried to deliver multiple times without success...