about summary refs log tree commit diff
path: root/app/workers/hub_ping_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/hub_ping_worker.rb')
-rw-r--r--app/workers/hub_ping_worker.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/workers/hub_ping_worker.rb b/app/workers/hub_ping_worker.rb
deleted file mode 100644
index 14a151ba0..000000000
--- a/app/workers/hub_ping_worker.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class HubPingWorker
-  include Sidekiq::Worker
-  include RoutingHelper
-
-  def perform(account_id)
-    account = Account.find(account_id)
-    return unless account.local?
-    OStatus2::Publication.new(account_url(account, format: 'atom'), [Rails.configuration.x.hub_url]).publish
-  end
-end