We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b1eae commit 3cd9685Copy full SHA for 3cd9685
1 file changed
lib/Phpfastcache/Drivers/Redis/Driver.php
@@ -161,7 +161,10 @@ protected function driverDelete(ExtendedCacheItemInterface $item): bool
161
{
162
$this->assertCacheItemType($item, Item::class);
163
164
- return (bool)$this->instance->del($item->getKey());
+ $this->instance->del($item->getKey());
165
+
166
+ // Redis sometime returns erroneous results
167
+ return true;
168
}
169
170
/**
0 commit comments