Skip to content

Commit

Permalink
Merged in r2-1774-fix-reindex (pull request #5483)
Browse files Browse the repository at this point in the history
R2-1774 Fixing sunspot reindex task
  • Loading branch information
pnabutovsky committed Aug 20, 2021
2 parents b05f9d7 + 6f13399 commit 13b4cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/sunspot.rake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace :sunspot do
desc 'Reindex all indexeable models'
task reindex: :wait do
puts 'Reindexing Solr...'
location_service = Location.new(true)
location_service = LocationService.new(true)
[Child, Incident, TracingRequest, Trace].each { |m| batch_reindex(m, 500, location_service) }
puts 'Solr successfully reindexed'
end
Expand Down

0 comments on commit 13b4cec

Please sign in to comment.