rhubarbgroup / redis-cache

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
https://wordpress.org/plugins/redis-cache/
GNU General Public License v3.0
425 stars 148 forks source link

Fixed issue with Predis and replication connection #520

Closed yatsukhnenko closed 4 months ago

yatsukhnenko commented 4 months ago

Resolves #519

When using Predis with replication connection we can't get/set flush timeout directly but we need to get master connection and work with it.