mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Move points jobs to the points queue
This commit is contained in:
parent
11f9dd961c
commit
8308354ac5
6 changed files with 16 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
0.26.5
|
||||
0.26.6
|
||||
|
|
|
|||
11
CHANGELOG.md
11
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
:concurrency: <%= ENV.fetch("BACKGROUND_PROCESSING_CONCURRENCY", 10) %>
|
||||
:queues:
|
||||
- points
|
||||
- default
|
||||
- imports
|
||||
- exports
|
||||
|
|
|
|||
Loading…
Reference in a new issue