-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
enhancementNew feature or requestNew feature or request
Description
There are many unnecessary roundtrips in manage.py:
- Each time an image is uploaded, the whole list of images is retrieved anew, instead of just adding the newly uploaded image to the list.
- For the subsequent call of
set_properties, the whole list of images is again retrieved, when the actual image object could be passed to the function instead of just the name. (Mind you that this is the only call toset_propertiesever, so it could readily be changed!) - For each of the potential adjustments of the metadata (min disk, min ram, os hidden, as well as each and every property that is missing or has the wrong value), a dedicated call to
update_imageis performed, when the changes could (easily!) be aggregated and the image updated only once.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request