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

Parallelize hashing and copying in FileStorageManager::addUnRegisteredFile() #74

Open
fxdeniz opened this issue Jul 9, 2022 · 0 comments

Comments

@fxdeniz
Copy link
Owner

fxdeniz commented Jul 9, 2022

Two statements below

QString fileHash = this->getHashOf(sourceFile.readAll());

and

bool isFileCopied = sourceFile.copy(internalFilePath);

can be run inside QtConcurrent::run() as lambdas

@fxdeniz fxdeniz self-assigned this Jul 9, 2022
@fxdeniz fxdeniz changed the title Parallelize hashing and copying in FileStorageManager::addUnRegisteredFile() Parallelize hashing and copying in FileStorageManager::addUnRegisteredFile() Aug 14, 2022
@fxdeniz fxdeniz transferred this issue from another repository Aug 16, 2022
@fxdeniz fxdeniz added this to the 1.0.0 milestone Aug 17, 2022
@fxdeniz fxdeniz modified the milestones: 1.0.0, 2.0.0 Jan 28, 2023
@fxdeniz fxdeniz modified the milestones: 2.0.0, 1.0.0 Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant