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

Unresponsive when uploading a large number of files. #375

Open
wll8 opened this issue Jun 17, 2022 · 1 comment
Open

Unresponsive when uploading a large number of files. #375

wll8 opened this issue Jun 17, 2022 · 1 comment

Comments

@wll8
Copy link

wll8 commented Jun 17, 2022

See: coderaiser/domfs-philip#1

When uploading a lot of files, there is still no response after waiting for more than 10 minutes.
There are 2,716 files and 552 folders under one folder.

image

This amount of files isn't much for me, my computer can handle it enough, and other uploaders can handle it.

  • Version (cloudcmd -v): v16.1.1
  • Node Version node -v: v16.14.0
  • OS (uname -a on Linux): Linux *** 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Browser name/version: chrome 102.0.5005.115 x64
  • Used Command Line Parameters: cloudcmd
  • Changed Config: no
@coderaiser
Copy link
Owner

Probably the bug somewhere here:

const listeners = {
progress: (value) => {
done = value === 100;
progress.setProgress(value);
},
end: () => {
Images.hide();
forEachKey(removeListener, listeners);
progress.remove();
if (lastError || done)
callback();
},
error: async (error) => {
lastError = error;
if (noContinue) {
listeners.end(error);
Dialog.alert(error);
progress.remove();
return;
}
const [cancel] = await Dialog.confirm(error + '\n Continue?');
if (!done && !cancel)
return emitter.continue();
emitter.abort();
progress.remove();
},
};

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

No branches or pull requests

2 participants