]> git.openstreetmap.org Git - rails.git/commitdiff
Queue trace related jobs in the traces queue
authorTom Hughes <tom@compton.nu>
Sun, 24 Mar 2019 17:08:57 +0000 (17:08 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 24 Mar 2019 17:08:57 +0000 (17:08 +0000)
app/jobs/trace_destroyer_job.rb
app/jobs/trace_importer_job.rb

index e2a05028854470a504412428d4f8e82caaf631ed..66b777b2c3cb7dd19d2b61730edd2e7c3cf7ee8b 100644 (file)
@@ -1,5 +1,5 @@
 class TraceDestroyerJob < ApplicationJob
-  queue_as :default
+  queue_as :traces
 
   def perform(trace)
     trace.destroy
index d41de5836969bbd5cd8592de3bb57f4150521b45..6b8943aa20f2dc5dca20dfdd979429f6f0096bbc 100644 (file)
@@ -1,5 +1,5 @@
 class TraceImporterJob < ApplicationJob
-  queue_as :default
+  queue_as :traces
 
   def perform(trace)
     gpx = trace.import