This commit is contained in:
friendica 2014-02-11 14:27:44 -08:00
commit c0e1e7ed2c

View File

@ -56,7 +56,11 @@ function poller_run($argv, $argc){
foreach($r as $rr) foreach($r as $rr)
drop_item($rr['id'],false); drop_item($rr['id'],false);
} }
// expire any read notifications over a month old
q("delete from notify where seen = 1 and date < UTC_TIMESTAMP() - INTERVAL 30 DAY");
// Ensure that every channel pings a directory server once a month. This way we can discover // Ensure that every channel pings a directory server once a month. This way we can discover
// channels and sites that quietly vanished and prevent the directory from accumulating stale // channels and sites that quietly vanished and prevent the directory from accumulating stale
// or dead entries. // or dead entries.