瀏覽代碼

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.
master
ThibG 6 年之前
committed by Eugen Rochko
父節點
當前提交
a0de3222dd
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      app/workers/activitypub/delivery_worker.rb

+ 1
- 1
app/workers/activitypub/delivery_worker.rb 查看文件

@@ -3,7 +3,7 @@
class ActivityPub::DeliveryWorker
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



Loading…
取消
儲存