David Morton wrote:
> Justin Mason wrote:
>
>>>could it be that local_tests_only is *not* set
to 1? in other words,
>>>that network results are being used in bayes
training? That
>>>slows things down quite a lot.
>
>
> As far as I can see, there's no connection... bayes
wouldn't have any use for that.
Actually Justin might be on to something, here. The
SpamAssassin object
needs to be initialized before any Bayes training can take
place, and
one of the things the init() method does is load all of the
rulesets and
such. When this is done in the process-quarantine script,
we're only
interested in Bayes training, so we might be able to pass a
"local_tests_only" argument to the new() or
init() methods to persuade
them to speed up the initialization somewhat. Since the
init() method
seems to be where most of the delays are being reported,
anything we can
tell SpamAssassin /not/ to load unnecessarily at that time
should help.
--
Robert LeBlanc <rjl renaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|