laravel / horizon

Dashboard and code-driven configuration for Laravel queues.
https://laravel.com/docs/horizon
MIT License
3.87k stars 657 forks source link

Call redis.replicate_commands() #1068

Closed davidvandertuijn closed 3 years ago

davidvandertuijn commented 3 years ago

Description:

ERR Error running script (call to f_281c23c60c642d42fdedcc1acc8adc7317dd75a5): @user_script:18: @user_script: 18: Write commands not allowed after non deterministic commands. Call redis.replicate_commands() at the start of your script in order to switch to single commands replication mode.

Replicating commands instead of scripts Howto call redis.replicate_commands() ?

Steps To Reproduce:

php artisan horizon:clear --queue=supplier_feeds_queue

driesvints commented 3 years ago

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

davidvandertuijn commented 3 years ago

https://stackoverflow.com/questions/69099730/laravel-horizon-clearing-jobs-from-queues-call-redis-replicate-commands

logan-jobzmall commented 2 years ago

I am having this issue as well - only against Elasticache however, local is fine - @davidvandertuijn @driesvints - was there any resolution to this?

markieo1 commented 9 months ago

This is still an issue. I have created an PR to fix it.