In the course of events, one may oneself using razor-check to debug a
Razor problem.  For example:

--snip--
$ razor-check -d spam_20050104
...
Jan 04 11:20:31.857873 check[30653]: [ 1] razor-check error: check 2:
Timed out (15 sec) while reading from wonder.cloudmark.com
check 2: Timed out (15 sec) while reading from wonder.cloudmark.com
--snip--

It is at these times that a timeout configurable from the command line
would be handy.  However, the 15 second period appears to be a magic
number hard coded into lib/Razor2/Client/Core.pm:

--snip--
    foreach my $i (0 .. ((scalar @$msg) -1) ) {
        my @handles = $select->can_write (15);

...

        } else {
            return $self->error("Timed out (15 sec) while reading from
$self->{s}->{ip}");
        }
--snip--

Can this be made configurable in a future release?  Thanks for listening.

-David

 
---------------------------------------------------------
D a v i d  E i s n e r        c r a d l e @ u m d . e d u   
CALCE EPSC                         University of Maryland    



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to