When I have redis specified as my caching driver, I get this error after running php artisan cache:clear
:
[Predis\NotSupportedException]
Cannot use FLUSHDB with a cluster of connections
Laravel ships with cluster => true
in the database config file. Maybe it should be false? Or maybe another approach needs to be used in RedisStore->flush()
? I'm happy to work on a pull request if I could get the opinion of the core team on how they'd want to proceed.
If you're going to be flushing the DB just disable clustering.
Most helpful comment
If you're going to be flushing the DB just disable clustering.