OStatus2 and Goldfinger gems now have timeouts for requests
This commit is contained in:
parent
059ebbf48d
commit
1cfc9aa20e
3 changed files with 8 additions and 3 deletions
|
@ -82,7 +82,7 @@ class Account < ApplicationRecord
|
|||
end
|
||||
|
||||
def subscription(webhook_url)
|
||||
@subscription ||= OStatus2::Subscription.new(self.remote_url, secret: self.secret, token: self.verify_token, webhook: webhook_url, hub: self.hub_url)
|
||||
OStatus2::Subscription.new(self.remote_url, secret: self.secret, token: self.verify_token, webhook: webhook_url, hub: self.hub_url)
|
||||
end
|
||||
|
||||
def ping!(atom_url, hubs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue