Skip to content

How to define the queue for Scout? #302

Closed
@elfeffe

Description

@elfeffe

return config('scout.queue.connection') ?: config('queue.default');

This line thinks scout.queue is an array, but it's boolean.
So scout.queue.connection doesn't exist

Activity

Onind

Onind commented on Sep 26, 2018

@Onind

you have to edit your config queue value to an array. This way it will still use the queue and you can customize the values.

'queue' => [ 'queue' => 'search', 'connection' => 'sqs' ]

nunomaduro

nunomaduro commented on Oct 2, 2018

@nunomaduro
Member

@elfeffe Have you tried @Onind's solution?

elfeffe

elfeffe commented on Oct 2, 2018

@elfeffe
Author

@nunomaduro Yes!
I didn't see it

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

        Participants

        @elfeffe@nunomaduro@Onind

        Issue actions

          How to define the queue for Scout? · Issue #302 · laravel/scout