Skip to content

Commit 1ea4eac

Browse files
committed
Replace del with command unlink
1 parent aaa1a4c commit 1ea4eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/http/src/Session/Managers/RedisSessionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function remove(SessionId $id, string $key): void
4949

5050
public function destroy(SessionId $id): void
5151
{
52-
$this->redis->getClient()->del($this->getKey($id));
52+
$this->redis->command('UNLINK', $this->getKey($id));
5353

5454
event(new SessionDestroyed($id));
5555
}

0 commit comments

Comments
 (0)