in this file
libraries/src/Cache/Storage/RedisStorage.php
redis-cli -h <host name>
HOST-NAME:PORT>monitor
and you'll see after a while these commands:
HOST-NAME:PORT>KEYS "*"
HOST-NAME:PORT>DEL <session-id 1>
HOST-NAME:PORT>DEL <session-id 2>
HOST-NAME:PORT>DEL <session-id 3>
....
only -cache- keys should be deleted
all keys are deleted from the server
if we set TTL - why do we even need the code going and deleting the keys ?
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-06-29 18:00:11 |
Closed_By | ⇒ | richard67 |
@richard67 - thanks for clarifying
the only reason I see for this issue is this question:
if we set TTL - why do we even need the code going and deleting the keys ?
@richard67 - thanks for clarifying the only reason I see for this issue is this question: if we set TTL - why do we even need the code going and deleting the keys ?
@yossibeck Well, if it is just a question then the right place would be in discussions.
Closing as having a pull request. See #43719 .
@yossibeck In case if you are not familiar yet with our practice: We close an issue when there is a PR to solve it. That's different to how some other repositories handle it. And if you want to open an issue and already know you will solve it with a PR, it does not even need the issue. Just the PR is sufficient in that case.
Thanks for reporting the issue and creating this PR.