gearheads
/
mastodon
Archived
2
0
Fork 0

Fix performance of server-side filtering (#17575)

Fixes #17567
gh/stable
Claire 2022-02-16 14:28:45 +01:00 committed by GitHub
parent 793da08995
commit 73fce8d311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ class FeedManager
return false if active_filters.empty?
combined_regex = active_filters.reduce { |memo, obj| Regexp.union(memo, obj) }
combined_regex = Regexp.union(active_filters)
status = status.reblog if status.reblog?
combined_text = [