You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mark Martinec <Ma...@ijs.si> on 2007/09/27 13:58:24 UTC

Re: Async timeouts in SA

Giampaolo,

> > how to "catch" timeouts from outstanding asynchronous
> > queries in SA 3.2.3. 

Justin Mason writes:
> 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.

Giampaolo, just attach your request to an existing bug entry 5589,
it is close enough in topic, there is probably no need for an extra request.

  Mark

R: Async timeouts in SA

Posted by Giampaolo Tomassoni <g....@libero.it>.
> -----Messaggio originale-----
> Da: Mark Martinec [mailto:Mark.Martinec+sa@ijs.si]
> Inviato: giovedì 27 settembre 2007 13.58
> A: users@spamassassin.apache.org
> Cc: Giampaolo Tomassoni
> Oggetto: Re: Async timeouts in SA
> 
> Giampaolo,
> 
> > > how to "catch" timeouts from outstanding asynchronous
> > > queries in SA 3.2.3.
> 
> Justin Mason writes:
> > 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.
> 
> Giampaolo, just attach your request to an existing bug entry 5589,
> it is close enough in topic, there is probably no need for an extra
> request.

Ok, I'm going to.

Thank you, Justin & Mark.

Giampaolo


> 
>   Mark