Merge branch 'reachability' into 'develop'
Fix reachability based on results of publishing attempts See merge request pleroma/pleroma!4231
This commit is contained in:
commit
08a444f6c3
3 changed files with 14 additions and 11 deletions
|
|
@ -180,7 +180,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
|
|||
Publisher.prepare_one(%{
|
||||
inbox: inbox,
|
||||
activity_id: activity.id,
|
||||
unreachable_since: NaiveDateTime.utc_now()
|
||||
unreachable_since: NaiveDateTime.utc_now() |> NaiveDateTime.to_string()
|
||||
})
|
||||
|> Publisher.publish_one()
|
||||
|
||||
|
|
@ -269,7 +269,7 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
|
|||
Publisher.prepare_one(%{
|
||||
inbox: inbox,
|
||||
activity_id: activity.id,
|
||||
unreachable_since: NaiveDateTime.utc_now()
|
||||
unreachable_since: NaiveDateTime.utc_now() |> NaiveDateTime.to_string()
|
||||
})
|
||||
|> Publisher.publish_one()
|
||||
end) =~ "connrefused"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue