diff options
author | David Yip <yipdw@member.fsf.org> | 2018-06-08 00:33:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 00:33:09 -0500 |
commit | a9515f3186b49df63436b98d382ee6a6b755387d (patch) | |
tree | d771e65a58d3c69ba1c08c3fc145f24b5b806274 /lib/tasks | |
parent | f8d50a40701f344ea7c2a0e5475bbcbc727ef930 (diff) | |
parent | 8142bd2553e7819722fdfc401e06cb10eeddd230 (diff) |
Merge pull request #535 from glitch-soc/merge-upstream
Merge upstream
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/mastodon.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake index 8ff29ea9e..de8c0bb86 100644 --- a/lib/tasks/mastodon.rake +++ b/lib/tasks/mastodon.rake @@ -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 |