You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2007/01/30 01:12:53 UTC

svn commit: r501246 - /spamassassin/trunk/masses/mass-check

Author: felicity
Date: Mon Jan 29 16:12:53 2007
New Revision: 501246

URL: http://svn.apache.org/viewvc?view=rev&rev=501246
Log:
mass-check in client mode should start by requesting a small amount of work and then adapt from there, not the opposite.

Modified:
    spamassassin/trunk/masses/mass-check

Modified: spamassassin/trunk/masses/mass-check
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/mass-check?view=diff&rev=501246&r1=501245&r2=501246
==============================================================================
--- spamassassin/trunk/masses/mass-check (original)
+++ spamassassin/trunk/masses/mass-check Mon Jan 29 16:12:53 2007
@@ -1626,7 +1626,8 @@
   $uri ||= "/";
 
   # use this to track how many messages we ought to be requesting
-  my $msgnum = $opt_cs_max;
+  # start at 100 to get warmed up
+  my $msgnum = $opt_cs_max > 100 ? 100 : $opt_cs_max;
 
   my $tmpdir;