4 Jan 2005 17:27
Feature Request: Configurable Timeout
David Eisner <cradle <at> umd.edu>
2005-01-04 16:27:44 GMT
2005-01-04 16:27:44 GMT
In the course of events, one may oneself using razor-check to debug a Razor problem. For example: --(Continue reading)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 <at> $msg) -1) ) { my <at> 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
RSS Feed