mage2tv / magento-cache-clean

A faster drop in replacement for bin/magento cache:clean with file watcher
BSD 3-Clause "New" or "Revised" License
527 stars 61 forks source link

Cache clean fails with custom cache backend #111 #112

Closed vesan-lw closed 1 year ago

vesan-lw commented 1 year ago

If custom backend class isn't specified in existing "case" conditions and "server" option defined then fallback to redis cache instead of files cache. The change was tested.

Vinai commented 1 year ago

Thanks for opening a PR! Exciting, it's rare someone takes the time to dig into Clojure a little.

Regarding the change, using the presence of a server key in the backend_options to check if a redis instance should be created isn't bad at all. I'll try it, and if it works I'll make a release!

Vinai commented 1 year ago

Reference issue #111