Skip to content

Disabled meilisearch-rails but it still triggers the configured background jobs #399

Closed
@pozelli

Description

@pozelli

Description

When I disable Meilisearch using the active parameter:

Meilisearch::Rails.configuration = {
  ...
  active: false
}

It is not completely disabled. It still triggers the background jobs if the enqueue option is set:

meilisearch enqueue: :trigger_sidekiq_job

Expected behavior

It should not trigger the background job.

Current behavior

It triggers the background job.

Environment (please complete the following information):

  • OS: Ubuntu
  • Meilisearch server version: 1.11.0
  • meilisearch-rails version: 0.14.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions