Skip to content

Commit

Permalink
run sitemap generation task now on app server, rather than queueing o…
Browse files Browse the repository at this point in the history
…n sidekiq server
  • Loading branch information
kerchner committed Mar 7, 2024
1 parent 7776e38 commit 00d10b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/gwss.rake
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace :gwss do
end
end

desc "Queues a job to (re)generate the sitemap.xml"
desc "Executes (immediately) a job to (re)generate the sitemap.xml"
task "sitemap_queue_generate" => :environment do
SitemapRegenerateJob.perform_later
SitemapRegenerateJob.perform_now
end

desc "Creates the default Admin Set if it doesn't exist"
Expand Down

0 comments on commit 00d10b1

Please sign in to comment.