From 6e3aaea877f5f4befd13b2fbb2c48f52ca7cacd9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 24 Mar 2019 17:08:57 +0000 Subject: [PATCH] Queue trace related jobs in the traces queue --- app/jobs/trace_destroyer_job.rb | 2 +- app/jobs/trace_importer_job.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5