From 267a0e669760788da3b82b7305f4049e5a47755a Mon Sep 17 00:00:00 2001 From: JanisPlayer <54918417+JanisPlayer@users.noreply.github.com> Date: Sun, 27 Aug 2023 21:22:35 +0200 Subject: [PATCH] Remove a comment It was unnecessary as it was just an idea to increase performance. --- lib/Controller/ImageController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Controller/ImageController.php b/lib/Controller/ImageController.php index 8e390861..73378f13 100644 --- a/lib/Controller/ImageController.php +++ b/lib/Controller/ImageController.php @@ -276,10 +276,6 @@ class ImageController extends GenericApiController $blob = $file->getContent(); // Convert image to JPEG if required - //You might want to lower the maximum execution time here. - //And increase again, to the default value, when the image is finished. - //And set a maximum number of concurrent executions, which might prevent thrashing. - //JSON(tmp) Database where you just save the entries as a number and delete them when they are done or the entries are 5 minutes old. $highres_enabled = $this->config->getSystemValueString('memories.image.highres.convert_all_images_formarts_enabled', 'false'); $format = $this->config->getSystemValueString('memories.image.highres.format', 'jpeg'); if ($highres_enabled == 'true') {