We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29727b6 commit 235a2aaCopy full SHA for 235a2aa
1 file changed
src/Traits/RedisTrait.php
@@ -39,7 +39,7 @@ protected function jobUnlock(string $key, $value): void
39
{
40
$expectedValue = $this->getRedis()->get($key);
41
if ($expectedValue && $expectedValue === $value) {
42
- $this->getRedis()->delete($key);
+ $this->getRedis()->del($key);
43
}
44
45
0 commit comments