diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-05-05 19:44:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 19:44:35 +0200 |
commit | 059df83d1dcabb27d2e638b4835791bd570ec779 (patch) | |
tree | 98605f362ad1afa18f69c916999c05dc2f662f35 /app/workers/unfavourite_worker.rb | |
parent | 036556d3509fac5fa487a0d5ff3cf95767e8d84f (diff) |
Fix database serialization failure returning HTTP 500 (#16101)
Database serialization failure occurs when a read-replica is used and a query takes long enough that rows on the primary database become unavailable. It should return HTTP 503 as it is temporary. Re-order rescue definitions according to their status codes
Diffstat (limited to 'app/workers/unfavourite_worker.rb')
0 files changed, 0 insertions, 0 deletions