Modify ↓
Opened 4 years ago
Closed 2 years 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
patternsmethod with@cachedecorator and calldel self.patternswhen changing the wiki page.
The changes need to be implemented in:
IPRegexFilterStrategy:tracspamfilter/filters/ip_regex.pyRegexFilterStrategy:tracspamfilter/filters/regex.py
Attachments (2)
Change History (7)
comment:1 by , 3 years ago
by , 3 years ago
| Attachment: | spam-filter-1.2-r17600.diff added |
|---|
by , 3 years ago
| Attachment: | spam-filter-1.4-r17596.diff added |
|---|
comment:3 by , 2 years 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 , 2 years ago
| Owner: | changed from to |
|---|
Note:
See TracTickets
for help on using tickets.



I'll have a look at this one