summaryrefslogtreecommitdiffstats
path: root/processmail
diff options
context:
space:
mode:
Diffstat (limited to 'processmail')
-rwxr-xr-xprocessmail2
1 files changed, 1 insertions, 1 deletions
diff --git a/processmail b/processmail
index 7cb3c7d6e..6abd157ac 100755
--- a/processmail
+++ b/processmail
@@ -369,7 +369,7 @@ if ($#ARGV == 1) {
if ($ARGV[0] eq "rescanall") {
print "<br> Collecting bug ids...\n";
- SendSQL("select bug_id from bugs order by bug_id");
+ SendSQL("select bug_id from bugs where to_days(now()) - to_days(delta_ts) <= 2 order by bug_id");
my @list;
while (my @row = FetchSQLData()) {
push @list, $row[0];