tmgmt_ec_etranslation_translation queue

Created on 21 February 2025, about 2 months ago

Problem/Motivation

A cron job needs to run quite frequently. Module can create many queue items.

CallbackController::callback creates a queue item.
Is this necessary? Can we perform the action from TranslationQueueWorker::processItem during the callback request?
Is updating a job a heavy task that will slow down the request?

Proposed resolution

Remove the custom queue.
Create a service that will update the job.
Call the new service from CallbackController::callback.

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇵🇱Poland alorenc Wolsztyn, 🇵🇱

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @alorenc
  • 🇧🇪Belgium dieterholvoet Brussels

    For me the reason to do this in a queue is mostly about error handling, having failed requests left in the queue instead of just disappearing without being able to debug/retry later. I don't agree with removing the queue handling, I think it's a good approach. We could make it configurable though, for projects that don't really use queues.

  • 🇵🇱Poland alorenc Wolsztyn, 🇵🇱

    Okay, I think we can add a module setting that will determine the usage of the queue.

  • 🇵🇱Poland alorenc Wolsztyn, 🇵🇱
  • Merge request !24Allow to disable queue usage. → (Open) created by alorenc
  • Pipeline finished with Success
    26 days ago
    Total: 172s
    #456367
  • Pipeline finished with Success
    25 days ago
    Total: 184s
    #456931
  • Pipeline finished with Success
    25 days ago
    Total: 170s
    #456935
  • Pipeline finished with Success
    25 days ago
    Total: 219s
    #456959
  • Pipeline finished with Success
    25 days ago
    Total: 347s
    #457096
  • Pipeline finished with Success
    25 days ago
    Total: 171s
    #457105
  • 🇵🇱Poland alorenc Wolsztyn, 🇵🇱
  • Pipeline finished with Success
    9 days ago
    Total: 232s
    #470353
Production build 0.71.5 2024