Skip to content

[FEATURE]: Config property to disable queued job consumption on certain strapi instances or handle parallel translations when scaled horizontaly #514

Description

@shfx

Is your feature request related to a problem? Please describe.
We tend too scale our instances horizontally. This causes some issues with this plugin in particular. Mainly duplicated translations. Ideally there would be any race condition in the first place.

Disabling entire plugin on an instance causes Strapi to run migrations, removing tables previously created by enabling this plugin.

Describe the solution you'd like
Enabling parallel translations with no race conditions.

Describe alternatives you've considered
A config feature, allowing us to disable automatic job processing on other machines. This would only make one of the machines a translating service but would fix our issue

Additional context
For now we're using pnpm patch and are injecting a config property that is disabling batch job manager but that might not be the best solution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions