{{ __('1. Redis + PHP client') }}
{{ __('Install the Redis server + a PHP client (phpredis extension, or run):') }}
composer require predis/predis
{{ __('Then in') }} .env:
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
QUEUE_CONNECTION=redis
{{ __('2. Cron (every minute)') }}
* * * * * cd {{ base_path() }} && php artisan schedule:run >> /dev/null 2>&1
{{ __('3. Queue worker (keep alive with pm2 / supervisor)') }}
php artisan queue:work redis --queue=bulk --tries=1 --timeout=3600
{{ __('Scale by running more workers (same command) pointed at the same Redis.') }}
{{ __('4. Enable + Save') }}
{{ __('Flip the toggle and Save. The status dots turn green within a minute.') }}