At 11:39 AM 6/22/2004, Theo Van Dinter wrote:
On Tue, Jun 22, 2004 at 10:26:05AM -0700, Kelson Vibber wrote:
> Of course, I'm assuming that a timeout on the first razor check will leave
> $self->{razor2_result} undefined.

The very top of the function that calls the Razor modules is:

  $self->{razor2_cf_score} = 0;
  return $self->{razor2_result} if ( defined $self->{razor2_result} );
  $self->{razor2_result} = 0;

Odd. I looked at that function, but I must have skimmed over initialization and didn't notice that. I stand corrected.


Onto the min_cf theory. I've got it set to ac+10 (from the olden days of more frequent FPs), but at least today the ac whenever I run razor-check -d seems to be 6, which can't explain the hits in the 51-100 range unless it fluctuates wildly.

I think I've got it now, though: you mentioned the logic method, and I see we've got that set to 5 (all non-contention parts listed) rather than the default of 4 (any non-contention part). So if only some parts hit, then RAZOR2_CHECK won't fire, because it uses the razor-agent config, but RAZOR2_CF_RANGE_* will, because it looks directly at the response from the server.

OK, that makes sense.

Thanks for helping me track it down!

Kelson Vibber
SpeedGate Communications <www.speed.net>





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to