Browse Source
Fix thread resolve worker retrying when status no longer exists (#16109)
closed-social-v3
Eugen Rochko
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
app/workers/thread_resolve_worker.rb
|
|
@ -14,5 +14,7 @@ class ThreadResolveWorker |
|
|
|
|
|
|
|
child_status.thread = parent_status |
|
|
|
child_status.save! |
|
|
|
rescue ActiveRecord::RecordNotFound |
|
|
|
true |
|
|
|
end |
|
|
|
end |