mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-07 10:22:48 +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.
|
# as the search index, must be handled first.
|
||||||
statuses.direct_visibility
|
statuses.direct_visibility
|
||||||
.includes(mentions: :account)
|
.includes(mentions: :account)
|
||||||
.find_each(&:unlink_from_conversations!)
|
.find_each(error_on_ignore: false, &:unlink_from_conversations!)
|
||||||
if Chewy.enabled?
|
if Chewy.enabled?
|
||||||
remove_from_index(statuses.ids, 'chewy:queue:StatusesIndex')
|
remove_from_index(statuses.ids, 'chewy:queue:StatusesIndex')
|
||||||
remove_from_index(statuses.ids, 'chewy:queue:PublicStatusesIndex')
|
remove_from_index(statuses.ids, 'chewy:queue:PublicStatusesIndex')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user