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

Bulk Archive/Delete takes extremely long time with hydrus hanging (large sesion?) #845

Closed
bbappserver opened this issue Apr 3, 2021 · 1 comment
Labels

Comments

@bbappserver
Copy link
Contributor

Environment

Hydrus version:428
Platform: Mac 10.13 (source)
OS specifics:

What happens

When commiting a very large archive/delete it seems to take forever, I suspect it takes no more time than usual but the time for an individual update is so long that hydrus just seems to hang for like 1 or 2 hours. I'm not sure why this is, it should only take µseconds to update a table entry.

Steps to reproduce

  1. Archive/delete 1000 items before commit. Maybe perform some big searches first.

Desired outcome

An archive delete especially on a bulk selection should not take very long.
It appears that mid bulk archive delete update that counts in tabs update, I expect this means that his means hydrus is trying to update the GUI for every single item as it is deleted. (This is also a problem with just normal selection deleted) When performing an action on a selection of items, the pubsub step should occur after the entire selection has been processed, not for each item, as this will retrieve state which will very soon be wrong again anyway, and is very expensive.

@bbappserver bbappserver added the bug label Apr 3, 2021
@hydrusnetwork
Copy link
Owner

Thank you for this report. I apologise for the late response. I know this is still a problem for some, so I have broke the final commit after an archive/delete into batches of 64 files, with pauses in between if the UI is currently busy. Please let me know if you still have trouble here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants