From: terry%mozilla.org <> Date: Tue, 12 Oct 1999 01:23:21 +0000 (+0000) Subject: Make "rescanall" only check bugs which have changed in the last two days. X-Git-Tag: bugzilla-2.8~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d2c06b300911c0b2cb411164aad609326a7064f;p=thirdparty%2Fbugzilla.git Make "rescanall" only check bugs which have changed in the last two days. --- diff --git a/processmail b/processmail index 7cb3c7d6e4..6abd157aca 100755 --- a/processmail +++ b/processmail @@ -369,7 +369,7 @@ if ($#ARGV == 1) { if ($ARGV[0] eq "rescanall") { print "
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];