1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 00:08:39 +09:00

Fix thread resolve worker retrying when status no longer exists (#16109)

This commit is contained in:
Eugen Rochko 2021-04-26 18:56:45 +02:00 committed by GitHub
parent c4deca6a21
commit f78cbc0c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,5 +14,7 @@ class ThreadResolveWorker
child_status.thread = parent_status
child_status.save!
rescue ActiveRecord::RecordNotFound
true
end
end