summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-12 03:23:21 +0200
committerterry%mozilla.org <>1999-10-12 03:23:21 +0200
commit7d2c06b300911c0b2cb411164aad609326a7064f (patch)
treede7db43003b64dd82f9718352183be78908fab7f
parent4f65880dae72196124e408470c30e764db2b8ac3 (diff)
downloadbugzilla-7d2c06b300911c0b2cb411164aad609326a7064f.tar.gz
bugzilla-7d2c06b300911c0b2cb411164aad609326a7064f.tar.xz
Make "rescanall" only check bugs which have changed in the last two days.
-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];