Modify ↓
Opened 2 months ago
Last modified 3 weeks ago
#13480 assigned defect
Incorrect cache invalidation for BadIP and BadContent
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | plugin - spam-filter |
Component: | plugin/spamfilter | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In a multiprocess environment the cache is not refreshed for other processes. Jun has suggested:
We should use
patterns
method with@cache
decorator and calldel self.patterns
when changing the wiki page.
The changes need to be implemented in:
IPRegexFilterStrategy
:tracspamfilter/filters/ip_regex.py
RegexFilterStrategy
:tracspamfilter/filters/regex.py
Attachments (0)
Note:
See TracTickets
for help on using tickets.
I'll have a look at this one