cooperaj / laravel-redis-sentinel

Provides a Redis driver for Laravel that is Sentinel aware
16 stars 7 forks source link

Service provider not loaded when running queue:listen #3

Closed Lambik closed 7 years ago

Lambik commented 7 years ago

Hi,

I've had a problem with your code, namely the service provider does not boot/register when I run php artisan queue:listen sentinel. Instead, I get the error "queue driver sentinel-redis not found" (because of course the boot method has not been called).

The only solution I have found was to set $defer to false. Do you have an idea what the cause could be?

Best regards, Tom

andrewmclagan commented 7 years ago

also see this ^0.3.0

cooperaj commented 7 years ago

I notice you've got a fork with this presumably fixed? If you want I can PR it in?

cooperaj commented 7 years ago

Fixed in dev-master