Browse Source

Fix missing column in select in mastodon:feeds:build task (#7720)

pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
c7405fda11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/tasks/mastodon.rake

+ 1
- 1
lib/tasks/mastodon.rake View File

@ -561,7 +561,7 @@ namespace :mastodon do
desc 'Generates home timelines for users who logged in in the past two weeks'
task build: :environment do
User.active.select(:account_id).find_in_batches do |users|
User.active.select(:id, :account_id).find_in_batches do |users|
RegenerationWorker.push_bulk(users.map(&:account_id))
end
end

Loading…
Cancel
Save