Skip to content
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

Open
wants to merge 8 commits into
base: Ursa-21.11.0
Choose a base branch
from

Conversation

danbar0kal
Copy link
Collaborator

No description provided.

try
{
$fileAdd = $redisWrapper->doSet($cacheKey, $contentToPut);
if ($fileAdd === false)
Copy link
Collaborator

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)

Copy link
Collaborator Author

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

@danbar0kal danbar0kal changed the base branch from Ursa-21.10.0 to Ursa-21.11.0 February 24, 2025 11:58
@danbar0kal danbar0kal requested a review from yossipapi February 25, 2025 13:11
@yossipapi
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants