-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined variable $value #6304
Comments
Maybe @exussum12 knows I can't figure out what this is supposed to be doing as the code it replaces returned the unserialized value in that case. |
Looks like it was refactored
Was the original. It was there for backwards compatibility between versions. There used to be a key in redis which stored all other keys, that made redis slow for large caches. The current code (without any testing) looks like it will have the same issue of scaling for large caches. Happy to remove the value (as its never used) though would check it scales with 1m cache entries for example |
I think how it was before this merge makes most sense, but I don't have any experience with this code and don't use Redis myself. |
The PR which was merged https://github.com/bcit-ci/CodeIgniter/pull/5752/files The context around where that PR came from The context of the PR, I think all of the code which interacts with |
CodeIgniter/system/libraries/Cache/drivers/Cache_redis.php
Line 166 in 3658d73
The text was updated successfully, but these errors were encountered: