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

Fix disk LRU cache key formatting error #1140

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Fix disk LRU cache key formatting error #1140

merged 1 commit into from
Dec 6, 2023

Conversation

HollowMan6
Copy link
Collaborator

@HollowMan6 HollowMan6 commented Dec 4, 2023

We hash the key using sha-256

Fix the issue related to:
Failed to get Bitmap from DiskLruCache:keys must match regex [a-z0-9_-]{1,64}: "https://igalia.github.io/wolvic-3D-environments/spring/spring.png"

Now we can access the external environments bitmap offline after they have been loaded once.

We hash the key using sha-256

Fix the issue related to:
Failed to get Bitmap from DiskLruCache:keys must match regex [a-z0-9_-]{1,64}:
"https://igalia.github.io/wolvic-3D-environments/spring/spring.png"

Now we can access the external environments bitmap offline after
they have been loaded once.

Signed-off-by: Songlin Jiang <[email protected]>
Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@svillar svillar dismissed felipeerias’s stale review December 6, 2023 09:17

Comments already addressed

@svillar svillar merged commit ac2062f into main Dec 6, 2023
20 checks passed
@svillar svillar deleted the disklrucache branch December 6, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants