Edgewall Software
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 call del 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)

Change History (1)

comment:1 by Maynard K., 3 weeks ago

I'll have a look at this one

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Ryan J Ollos.
The ticket will be disowned. Next status will be 'new'.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.