Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Async timeouts in SA

From: Justin Mason <jm(at)jmason.org>
Date: Thu Sep 27 2007 - 07:44:35 EDT

Giampaolo Tomassoni writes:
> Hi Justin,
>
> sorry for bothering you so "straightly", but I would like to know how to
> "catch" timeouts from outstanding asynchronous queries in SA 3.2.3.

hi Giampaolo --

could you open an enhancement request? there should be a callback function that we call on the $obj hash, "timeout_callback" maybe.

Until that's implemented, see the code for abort_remaining_lookups(). in SVN trunk, you can detect timeouts by checking the {timing_by_query} hash for "X $key" entries (where $key is the lookup's key). There's no way to detect it in SpamAssassin 3.2.x.

--j. Received on Thu Sep 27 07:45:39 2007

This archive was generated by hypermail 2.1.8 : Sat Oct 27 2007 - 18:21:55 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library