-
Notifications
You must be signed in to change notification settings - Fork 176
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
caching of small files in redis #13148
base: Ursa-21.11.0
Are you sure you want to change the base?
Conversation
try | ||
{ | ||
$fileAdd = $redisWrapper->doSet($cacheKey, $contentToPut); | ||
if ($fileAdd === false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wrapper doesn't seem to return NULL. Maybe just for in case, it should check if (!$fileAdd)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when testing different redis images, when there was a problem i got an exception there.
i think just in case it better to have it
I didn’t review the entire code will do once your done but, where is the part that handles the fetching if these cached files when trying to get the file sync data? |
No description provided.