From 8308354ac58c4463052bbc9b47647520764e2ab1 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Wed, 21 May 2025 18:57:29 +0200 Subject: [PATCH] Move points jobs to the `points` queue --- .app_version | 2 +- CHANGELOG.md | 11 +++++++++++ app/jobs/overland/batch_creating_job.rb | 2 +- app/jobs/owntracks/point_creating_job.rb | 2 +- app/jobs/points/create_job.rb | 2 +- config/sidekiq.yml | 1 + 6 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.app_version b/.app_version index 5564d9ac..5d700c01 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.26.5 +0.26.6 diff --git a/CHANGELOG.md b/CHANGELOG.md index c9b5c904..16e7f242 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). + +# 0.26.6 - 2025-05-21 + +## Added + +- armv8 to docker build. #1249 + +## Changed + +- Points are now being created in the `points` queue. #1243 + # 0.26.5 - 2025-05-20 ## Fixed diff --git a/app/jobs/overland/batch_creating_job.rb b/app/jobs/overland/batch_creating_job.rb index 8e8a1790..2933e81b 100644 --- a/app/jobs/overland/batch_creating_job.rb +++ b/app/jobs/overland/batch_creating_job.rb @@ -3,7 +3,7 @@ class Overland::BatchCreatingJob < ApplicationJob include PointValidation - queue_as :default + queue_as :points def perform(params, user_id) data = Overland::Params.new(params).call diff --git a/app/jobs/owntracks/point_creating_job.rb b/app/jobs/owntracks/point_creating_job.rb index 947ba6ec..5695894e 100644 --- a/app/jobs/owntracks/point_creating_job.rb +++ b/app/jobs/owntracks/point_creating_job.rb @@ -3,7 +3,7 @@ class Owntracks::PointCreatingJob < ApplicationJob include PointValidation - queue_as :default + queue_as :points def perform(point_params, user_id) parsed_params = OwnTracks::Params.new(point_params).call diff --git a/app/jobs/points/create_job.rb b/app/jobs/points/create_job.rb index 7dc3d261..8d8dbf88 100644 --- a/app/jobs/points/create_job.rb +++ b/app/jobs/points/create_job.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class Points::CreateJob < ApplicationJob - queue_as :default + queue_as :points def perform(params, user_id) data = Points::Params.new(params, user_id).call diff --git a/config/sidekiq.yml b/config/sidekiq.yml index b6e2e4c1..7bde1468 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -1,6 +1,7 @@ --- :concurrency: <%= ENV.fetch("BACKGROUND_PROCESSING_CONCURRENCY", 10) %> :queues: + - points - default - imports - exports