diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-20 01:10:51 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-20 01:10:51 +0200 |
commit | 1cfc9aa20e2f4a9d7b6dcd5227246e1a5375ab31 (patch) | |
tree | f4bab1b150b71895ac842f4b957238888f1310b1 /app | |
parent | 059ebbf48dc56971b88e26a15303a75643de8b98 (diff) |
OStatus2 and Goldfinger gems now have timeouts for requests
Diffstat (limited to 'app')
-rw-r--r-- | app/models/account.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index 449075aa8..a7f31440f 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -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) |