about summary refs log tree commit diff
path: root/app/services/unsuspend_account_service.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-06 20:57:52 +0200
committerGitHub <noreply@github.com>2022-04-06 20:57:52 +0200
commitabb11778d7d9ac04fe1feeccf5cefc6d2ed58780 (patch)
tree8625ac220f65abbf56f680012dcbb87551038ee6 /app/services/unsuspend_account_service.rb
parent62c6e12fa58adea57954e395d10d0ffc2c0cd73c (diff)
Fix inconsistency in error handling when removing a status (#17974)
Not completely sure this could actually have any ill effect, but if
`RemoveStatusService` fails to acquire a lock in an
`ActivityPub::ProcessingWorker` job processing a `Delete`, the status
is currently discarded and causes a job failure but the next time the
job is attempted, it will skip deleting the status due to it being
discarded.

This commit makes the behavior of `RemoveStatusService` a bit more consistent
in case of failure to acquire the lock.
Diffstat (limited to 'app/services/unsuspend_account_service.rb')
0 files changed, 0 insertions, 0 deletions