From: Tom Hughes Date: Sun, 24 Mar 2019 17:08:57 +0000 (+0000) Subject: Queue trace related jobs in the traces queue X-Git-Tag: live~3225 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/6e3aaea877f5f4befd13b2fbb2c48f52ca7cacd9?ds=inline Queue trace related jobs in the traces queue --- diff --git a/app/jobs/trace_destroyer_job.rb b/app/jobs/trace_destroyer_job.rb index e2a050288..66b777b2c 100644 --- a/app/jobs/trace_destroyer_job.rb +++ b/app/jobs/trace_destroyer_job.rb @@ -1,5 +1,5 @@ class TraceDestroyerJob < ApplicationJob - queue_as :default + queue_as :traces def perform(trace) trace.destroy diff --git a/app/jobs/trace_importer_job.rb b/app/jobs/trace_importer_job.rb index d41de5836..6b8943aa2 100644 --- a/app/jobs/trace_importer_job.rb +++ b/app/jobs/trace_importer_job.rb @@ -1,5 +1,5 @@ class TraceImporterJob < ApplicationJob - queue_as :default + queue_as :traces def perform(trace) gpx = trace.import