[Bug 7363] Bayes and AWL leave DB locked on timeout

2021-05-28 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7363 Matt Corallo changed: What|Removed |Added CC||asabzaf...@mattcorallo.com --- Comme

Re: DecodeShortURLs plugin

2021-05-28 Thread Benny Pedersen
On 2021-05-28 17:43, Henrik K wrote: On Fri, May 28, 2021 at 05:29:11PM +0200, Benny Pedersen wrote: only bayes with redis backend have expire data, why only redis ?, and why only bayes ? :) Redis has internal automatic expire, no effort required. For others bayes_auto_expire works too - i

Re: DecodeShortURLs plugin

2021-05-28 Thread Henrik K
On Fri, May 28, 2021 at 05:29:11PM +0200, Benny Pedersen wrote: > > only bayes with redis backend have expire data, why only redis ?, and why > only bayes ? :) Redis has internal automatic expire, no effort required. For others bayes_auto_expire works too - if it's slow, use Redis..

Re: DecodeShortURLs plugin

2021-05-28 Thread Benny Pedersen
On 2021-05-28 15:15, Henrik K wrote: On Fri, May 28, 2021 at 03:00:25PM +0200, Giovanni Bechis wrote: cache must be invalidated every day with sql queries, to detect if a return code has changed for a cached url, we should run a head request so cache will be of no use. This should be automa

Re: DecodeShortURLs plugin

2021-05-28 Thread Henrik K
On Fri, May 28, 2021 at 03:00:25PM +0200, Giovanni Bechis wrote: > > cache must be invalidated every day with sql queries, to detect if a return > code has changed for a cached > url, we should run a head request so cache will be of no use. This should be automated too from the plugin, being a tr

Re: DecodeShortURLs plugin

2021-05-28 Thread Giovanni Bechis
On 5/28/21 12:06 PM, Henrik K wrote: > On Fri, May 28, 2021 at 09:52:25AM +0300, Henrik K wrote: >> >> The current (legacy) way that DecodeShortURLs works need to be changed. >> Calling got_hit() for random rules that are not defined, especially things >> like SHORT_C_C should not be used. One ca

Re: DecodeShortURLs plugin

2021-05-28 Thread Henrik K
On Fri, May 28, 2021 at 01:06:24PM +0300, Henrik K wrote: > On Fri, May 28, 2021 at 09:52:25AM +0300, Henrik K wrote: > > > > The current (legacy) way that DecodeShortURLs works need to be changed. > > Calling got_hit() for random rules that are not defined, especially things > > like SHORT_C_C s

Re: DecodeShortURLs plugin

2021-05-28 Thread Henrik K
On Fri, May 28, 2021 at 09:52:25AM +0300, Henrik K wrote: > > The current (legacy) way that DecodeShortURLs works need to be changed. > Calling got_hit() for random rules that are not defined, especially things > like SHORT_C_C should not be used. One can't score them > properly and it also brea

[Bug 7735] Meta rules need to handle missing/unrun dependencies

2021-05-28 Thread bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735 Henrik Krohns changed: What|Removed |Added Resolution|--- |FIXED Status|NEW