gallery
gallery copied to clipboard
Introduce a setting to tune the number of requests made to generate thumbnails
Feature request
User type: All
User level: intermediate
Description
Not all server hardware is created equal, so we should make it possible for admins to configure how many parallel requests are made to the server.
Benefit / value
This would prevent something like a Pi from using all its memory to generate thumbnails, since each request uses up to the maximum amount allocated to PHP.
This would also allow powerful servers to deal with more simulatneous requests.
Risk / caveats
None
Sponsorship
None so far
Implementation
This should be a setting in gallery.cnf
All the logic happens here: https://github.com/nextcloud/gallery/blob/master/js/galleryalbum.js