Move points jobs to the points queue

This commit is contained in:
Eugene Burmakin 2025-05-21 18:57:29 +02:00
parent 11f9dd961c
commit 8308354ac5
6 changed files with 16 additions and 4 deletions

View file

@ -1 +1 @@
0.26.5
0.26.6

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,6 +1,7 @@
---
:concurrency: <%= ENV.fetch("BACKGROUND_PROCESSING_CONCURRENCY", 10) %>
:queues:
- points
- default
- imports
- exports