From: Alan Knowles Date: Wed, 9 Dec 2015 09:22:54 +0000 (+0800) Subject: Prune.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0655bc2cbf652d3bea8018854b750da406e146dc Prune.php --- diff --git a/Prune.php b/Prune.php index 594181c7..036b4124 100644 --- 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.. - $f = DB_DataObject::Factory('reader_article'); + /* $f = DB_DataObject::Factory('reader_article'); $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 "); - + */ // 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...