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

Add a limit to amount of previews that can be generated by a single call to pre-generate #513

Open
Torbins opened this issue Sep 25, 2024 · 0 comments

Comments

@Torbins
Copy link

Torbins commented Sep 25, 2024

Feature request

Which Nextcloud Version are you currently using: - 29.0.6

Sometimes user can add a folder to list of synchronizations in his NextCloud app, and this folder would have thousands of photos. This will lead to a situation when previews for all new photos will be generated during next call to pre-generate, making system very slow to respond to other requests, and maybe will even interrupt folder synchronization itself. Please add a limit to amount of previews that can be generated by a single call to pre-generate. Maybe even two limits: one total amount of previews and another per-user amount. Another idea is to have a limit on total size of files that can be processed during single call of pre-generate.

With this feature implemented, it should be possible to use nextcloud background jobs instead of manual shell commands.

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