Commit 62501e39 authored by Erick Hitter's avatar Erick Hitter
Browse files

Only clear the current DB, not all DBs in the Redis instance, when flushing the cache.

parent f092d96a
......@@ -416,7 +416,7 @@ class WP_Object_Cache {
$this->cache = array();
$result = $this->parse_predis_response( $this->redis->flushall() );
$result = $this->parse_predis_response( $this->redis->flushdb() );
return $result;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment