Commit 7d2c06b3 authored by terry%mozilla.org's avatar terry%mozilla.org

Make "rescanall" only check bugs which have changed in the last two days.

parent 4f65880d
...@@ -369,7 +369,7 @@ if ($#ARGV == 1) { ...@@ -369,7 +369,7 @@ if ($#ARGV == 1) {
if ($ARGV[0] eq "rescanall") { if ($ARGV[0] eq "rescanall") {
print "<br> Collecting bug ids...\n"; 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; my @list;
while (my @row = FetchSQLData()) { while (my @row = FetchSQLData()) {
push @list, $row[0]; push @list, $row[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment