Calculate hashes during upload #37
Labels
No Label
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#37
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
We read in the files in chunks already anyways, so why not use that period to calculate the hashes as well.
I've done some testing & this might not actually be the best course of action. It seems that by calculating the hash as the data's coming in, the server consumes a lot more CPU.
I'm reducing this to an idea for now, as I do not know whether this is actually more efficient/worth the trouble.