Fix long delays when updating filter lists #39283
Labels
OS/iOS
Fixes related to iOS browser functionality
privacy
QA Pass - iPhone
QA/Yes
release-notes/exclude
Milestone
Description
When updating filter lists, there may be a long delay before they are ready (over 1 minute).
It is actually caused by an error on the custom filter list screen you can see in the following screenshot (so both will be fixed):
![image](https://private-user-images.githubusercontent.com/909331/346246582-ab2d9de5-0ed2-4f03-8fa3-1aded1e6e88c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzMzQxMjUsIm5iZiI6MTcyMjMzMzgyNSwicGF0aCI6Ii85MDkzMzEvMzQ2MjQ2NTgyLWFiMmQ5ZGU1LTBlZDItNGYwMy04ZmEzLTFhZGVkMWU2ZTg4Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDczMFQxMDAzNDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05YjM2OTA2NzUzMmI2OGQ1NThhZTU0NGNjNThkODg2OTk5MjU3YTY4OGEzYmNlNzk5ZTFiNjQyZjU1ZDM5MjFmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.S-AS7R3u1F-qcacAyeMhmba1vGDYSPWwlBG_aFPhhas)
The error causes the engines to not rebuild. Only after delayed task that takes 60s (which forces a necessary rebuild despite some filter list errors) updates the engines.
Steps to reproduce
Actual result
Changes will take about a minute to go into effect
Expected result
Changes should be nearly instant (about 5 seconds)
Reproduces how often
Easily reproduced
Brave version
1.69
Device/iOS version
Iphone 14
Affected browser versions
Reproducibility
Miscellaneous information
No response
The text was updated successfully, but these errors were encountered: