mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-07 02:11:04 +00:00
Remove order from statuses within in_batches
block
This commit is contained in:
parent
97c6d7829e
commit
1dfd060811
|
@ -19,7 +19,7 @@ class Vacuum::StatusesVacuum
|
|||
# as the search index, must be handled first.
|
||||
statuses.direct_visibility
|
||||
.includes(mentions: :account)
|
||||
.find_each(&:unlink_from_conversations!)
|
||||
.find_each(error_on_ignore: false, &:unlink_from_conversations!)
|
||||
if Chewy.enabled?
|
||||
remove_from_index(statuses.ids, 'chewy:queue:StatusesIndex')
|
||||
remove_from_index(statuses.ids, 'chewy:queue:PublicStatusesIndex')
|
||||
|
|
Loading…
Reference in New Issue
Block a user