Make sure no other periodic filter run is started while another is running
Categories
(MailNews Core :: Filters, defect)
Tracking
(thunderbird68 fixed, thunderbird69 fixed)
People
(Reporter: aceman, Assigned: aceman)
References
Details
Attachments
(1 file)
3.55 KB,
patch
|
mkmelin
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
When a periodic filter is run on a big folder with many messages to change, it may run longer than the interval between filter runs (10 minutes by default). This may happen when a periodic filter rules/actions change and many messages must be touched. Or when TB wasn't started for a long time and many new messages suddenly match the filter and have to be touched.
This was detected in bug 864187 comment 76.
Make sure no other periodic filter run is started before the first one finishes.
It looks like this doesn't happen right now as all of TB UI is frozen while a filter is running, but let's make it explicit and safe in the code in case filters start to run async or some threading changes cause the periodic timer fires even when other filter run is ongoing.
Comment 2•5 years ago
|
||
Comment 3•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/066da1c827a5
do not start new periodic filter if one is already running. r=mkmelin
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Description
•