[sidekiq] disable bootstraptimelineworker

This commit is contained in:
Fosco Marotto 2021-01-09 18:21:41 -05:00
parent b27c8a3238
commit 50f010652e
3 changed files with 5 additions and 5 deletions

View File

@ -272,7 +272,7 @@ class User < ApplicationRecord
end
def prepare_new_user!
BootstrapTimelineWorker.perform_async(account_id)
# BootstrapTimelineWorker.perform_async(account_id)
ActivityTracker.increment('activity:accounts:local')
UserMailer.welcome(self).deliver_later
end

View File

@ -4,6 +4,6 @@ class BootstrapTimelineWorker
include Sidekiq::Worker
def perform(account_id)
BootstrapTimelineService.new.call(Account.find(account_id))
# BootstrapTimelineService.new.call(Account.find(account_id))
end
end

View File

@ -413,7 +413,7 @@ module GabSocial
end
end
BootstrapTimelineWorker.perform_async(account.id)
# BootstrapTimelineWorker.perform_async(account.id)
say("OK, unfollowed #{processed} followees, skipped #{failed}", :green)
end