]> cat aescling's git repositories - mastodon.git/commit
Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)
authorThibG <thib@sitedethib.com>
Thu, 23 May 2019 13:00:30 +0000 (15:00 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 23 May 2019 13:00:30 +0000 (15:00 +0200)
commit9efcca3c543ec76e7fa86605b94aefb46a238cc6
tree962c6a0ec9ca7586cabbc1bed66bd7446d99451b
parent9ddeb30f90f9402eb567c88354d4956fcfdf0361
Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)

HTTP 401 responses returned by Mastodon's inbox controller may
be temporary if, for instance, the requesting user's actor/key json
could not be retrieved in a timely fashion. This changes allow retries
instead of dropping the message entirely.

Also added HTTP 408 as that error is by nature temporary.
app/workers/activitypub/delivery_worker.rb