Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove a comment
It was unnecessary as it was just an idea to increase performance.
  • Loading branch information
JanisPlayer authored Aug 27, 2023
commit 267a0e669760788da3b82b7305f4049e5a47755a
4 changes: 0 additions & 4 deletions lib/Controller/ImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ public function decodable(string $id): Http\Response
$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') {
Expand Down