about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-04 02:00:10 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-04 02:00:10 +0200
commitb510a56c0c3d8c1a48bb295a85b688af94466723 (patch)
treebdc7f1edf2b8599bc2d94b7752acdcfc217eeae8 /app/workers
parent4c53af64f0b10bc11473df5e3fd1cd7a11b755f6 (diff)
Only call regeneration worker after first login after a 14 day break
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/regeneration_worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/regeneration_worker.rb b/app/workers/regeneration_worker.rb
index 289b63d84..82665b581 100644
--- a/app/workers/regeneration_worker.rb
+++ b/app/workers/regeneration_worker.rb
@@ -5,7 +5,7 @@ class RegenerationWorker
 
   sidekiq_options queue: 'pull', backtrace: true
 
-  def perform(account_id, timeline_type)
-    PrecomputeFeedService.new.call(timeline_type, Account.find(account_id))
+  def perform(account_id, _ = :home)
+    PrecomputeFeedService.new.call(:home, Account.find(account_id))
   end
 end