Skip to content

Command name "queue:work" or false defaults to Laravel native Worker. #8

Description

@diggersworld

I'm attempting to use 0.4.* on a Laravel 6 project.

I'm finding that when I set the command_name to either queue:work or false the runJob method in the package Worker never gets called and instead the job is processed by the native Laravel Worker.

If I change the command_name to doctrine:queue:work or anything other than queue:work or false and call it, then the runJob method in the package Worker is called.

I have done the following:

  1. composer require digbang/safe-queue:0.4.*
  2. Added Digbang\SafeQueue\DoctrineQueueProvider::class to the app.php file.
  3. Create the safequeue.php config file and specified the command_name.

Have I missed something?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions