https://bz.apache.org/SpamAssassin/show_bug.cgi?id=5930

--- Comment #18 from Henrik Krohns <[email protected]> ---
(In reply to RW from comment #17)
> SPF, DKIM and Bayes have been made to run before blocklist requests are sent
> at priority -100, which means that they always add to the duration of the
> scan. When they run after priority -100, a slow DNS response or timeout can
> take them off the critical path.

SPF and DKIM _are_ async "blocklist requests". DNS and any other async network
requests should be launched at -100.

But I see your point about Bayes. I think it should be started at around say
-90, after async requests are launched. But before 0 so it has a chance to run
before normal rules timing out. TODO: Make all those SQL/Redis calls async..

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to