On Thu, May 11, 2006 at 10:10:39PM +0200, Michael Monnerie wrote:
> OK, learning is quick anyway, so no problem here. The expire will 
> definitely run much longer, as you say. But what happens when SA wants 
> to auto-learn another message while expire runs? Will it wait and 
> timeout or just skip autolearning? Skipping would be no problem for me, 
> but a timeout could be nasty.

It depends what "timeout" means in this context.  What's going on is that
anytime a process needs to get a write lock on the db, there's contention
if other processes already have it locked.  By default, processes can
wait either 300s for a lock before giving up (all commands run through
sa-learn), or 10s (everything else).

So "skip autolearning" requires a "timeout".

-- 
Randomly Generated Tagline:
Communism is like one big phone company.

Attachment: pgptLRi3WSaJs.pgp
Description: PGP signature

Reply via email to