orbiter 20 years ago
parent 6594541ef5
commit 98b028038c

@ -158,6 +158,7 @@ public class yacyNewsPool {
private boolean automaticProcessP(yacyNewsRecord record) {
if (record == null) return false;
if (record.category() == null) return true;
if ((yacyCore.universalTime() - record.created().getTime()) > (1000 * 60 * 60 * 24 * 7) /* 1 Week */) {
// remove everything after 1 week
return true;

Loading…
Cancel
Save