james-project icon indicating copy to clipboard operation
james-project copied to clipboard

JAMES-3775 Increase RSpamD scoring stability

Open quantranhong1999 opened this issue 3 years ago • 4 comments

RSpamD scoring delegates to many async modules and then aggregate the result. The implicit default task_timeout is 8 seconds which is sometime not long enough to return the full result. Increasing timeout to a bigger value (say 20s) could let RSpamD enough time to fully score a mail.

quantranhong1999 avatar Aug 09 '22 10:08 quantranhong1999

On my PC image

vttranlina avatar Aug 10 '22 02:08 vttranlina

Screenshot from 2022-08-10 22-39-50

chibenwa avatar Aug 10 '22 15:08 chibenwa

Can we please run rspamd tests as unstable tests while you investigate this issue / relax assertions to not include scoring?

chibenwa avatar Aug 10 '22 15:08 chibenwa

I investigated the issue and likely it is a bug regarding to RSpamD (reported) and no more we can do at least ATM.

Can we please run rspamd tests as unstable tests while you investigate this issue / relax assertions to not include scoring?

The only place we assert the score (on master) is on a checkHam test which is not observed an unstable score issue. But sure, relaxing the score there also is better, just in case.

quantranhong1999 avatar Aug 10 '22 16:08 quantranhong1999

Please rebase @quantranhong1999

chibenwa avatar Aug 16 '22 02:08 chibenwa