Skip to content

Batch tried to pass all arguments #39

@exadeci

Description

@exadeci
Superworker.define(:PublishSuperWorker, :profs_ids, :institution_id) do
  batch profs_ids: :prof_id do
    CloudSk :prof_id
  end
  ExtraInfoWorker :institution_id
end

I get:
CloudSk | 5966, 1 | ArgumentError: wrong number of arguments (2 for 1)

I "fixed" it by adding an unused argument to the worker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions