Retry delivering toots over ActivityPub for about 2 days (#6298)

Currently, Mastodon will retry delivering toots for a bit over 1 hour.
This is a very short timespan when considering private and direct toots, which
cannot be seen by the recipient at all after the delivery attempts have failed.

Ideally, private and direct toots should have a different number of retries,
but I do not know how to do that.
lolsob-rspec
ThibG 2018-01-19 15:49:48 +01:00 committed by Eugen Rochko
parent 5daf5f2c57
commit 30df8fc679
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
class ActivityPub::DeliveryWorker class ActivityPub::DeliveryWorker
include Sidekiq::Worker include Sidekiq::Worker
sidekiq_options queue: 'push', retry: 8, dead: false sidekiq_options queue: 'push', retry: 16, dead: false
HEADERS = { 'Content-Type' => 'application/activity+json' }.freeze HEADERS = { 'Content-Type' => 'application/activity+json' }.freeze