projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
745aa04
)
Prune.php
author
Alan Knowles
<alan@roojs.com>
Tue, 25 Jul 2017 03:46:30 +0000
(11:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 25 Jul 2017 03:46:30 +0000
(11:46 +0800)
Prune.php
patch
|
blob
|
history
diff --git
a/Prune.php
b/Prune.php
index
7b01c9f
..
3d77020
100644
(file)
--- a/
Prune.php
+++ b/
Prune.php
@@
-48,6
+48,7
@@
class Pman_Core_Prune extends Pman
{
// 40 seconds ? to delete 100K records..
// DB_DataObject::debugLevel(1);
+ /*
$f = DB_DataObject::Factory('Events');
$f->query("
DELETE FROM Events where
@@
-56,7
+57,7
@@
class Pman_Core_Prune extends Pman
action != 'NOTIFY'
LIMIT 100000
");
-
+ */
// notificication events occur alot - so we should trash them more frequently..
/* $f = DB_DataObject::Factory('reader_article');
$f->query("