Skip to content

🐛 Fix hash of binary files in cache service (attempt 2)#1762

Draft
misode wants to merge 3 commits intoSpyglassMC:mainfrom
misode:fix-binary-files-hash
Draft

🐛 Fix hash of binary files in cache service (attempt 2)#1762
misode wants to merge 3 commits intoSpyglassMC:mainfrom
misode:fix-binary-files-hash

Conversation

@misode
Copy link
Member

@misode misode commented Feb 17, 2025

But that PR created some issues where too many file handles were open (or something like that). I still think most of this PR are good changes, but might need some reworking

Copy link
Member

@SPGoding SPGoding left a comment

Choose a reason for hiding this comment

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

I'm still not exactly sure how the "too many files open" error occurred since from what I understand we're opening files in sequence, so there should never be multiple file handles open at the same time.

Edit: I somehow thought the this.dirtyFiles.size > 100 check was added in this PR to fix the error when it was in the original as well lol. Now I realize this PR is identical to the previous one.

@misode misode marked this pull request as draft February 25, 2025 20:26
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.

Binary files are not hashed correctly in CacheService

2 participants