Modify ↓
Opened 3 years ago
Closed 14 months ago
#13480 closed defect (fixed)
Incorrect cache invalidation for BadIP and BadContent
Reported by: | Ryan J Ollos | Owned by: | Dirk Stöcker |
---|---|---|---|
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 (2)
Change History (7)
comment:1 by , 3 years ago
by , 23 months ago
Attachment: | spam-filter-1.2-r17600.diff added |
---|
by , 23 months ago
Attachment: | spam-filter-1.4-r17596.diff added |
---|
comment:3 by , 14 months ago
See comments in #13276. Im not really sure if it's worth the effort, but will have a look at the provided patches for recent 1.6 trunk version.
comment:4 by , 14 months ago
Owner: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.
I'll have a look at this one