From 1cfc9aa20e2f4a9d7b6dcd5227246e1a5375ab31 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 20 Sep 2016 01:10:51 +0200 Subject: OStatus2 and Goldfinger gems now have timeouts for requests --- app/models/account.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/account.rb') 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) -- cgit