https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8613
Bug ID: 8613
Summary: with lock_method flock, waiting for the Bayes or AWL
lock lets a scan run past time_limit
Product: Spamassassin
Version: 4.0.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Libraries
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Created attachment 6340
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6340&action=edit
patch to wait for a flock lock under Mail::SpamAssassin::Timeout
With lock_method flock, waiting for the Bayes or AWL lock turns off the scan's
timer for the length of the wait, allowing the scan to run past time_limit by
up to the lock timeout.
The attached patch waits for the lock under Mail::SpamAssassin::Timeout, which
keeps the time limit of a timer it runs under.
--
You are receiving this mail because:
You are the assignee for the bug.