aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Thumbnail.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-12-10 17:03:57 +0000
committerMario <mario@mariovavti.com>2022-12-10 17:03:57 +0000
commite1c28351734d175476bc8f0d6cdf261dee3c07e0 (patch)
tree50b4659c904c0b2803d57d114a104ccd8655fd6c /Zotlabs/Daemon/Thumbnail.php
parent4f9a933108eb0a41671ec9464f1d7fb90c2d2233 (diff)
downloadvolse-hubzilla-e1c28351734d175476bc8f0d6cdf261dee3c07e0.tar.gz
volse-hubzilla-e1c28351734d175476bc8f0d6cdf261dee3c07e0.tar.bz2
volse-hubzilla-e1c28351734d175476bc8f0d6cdf261dee3c07e0.zip
add option to set worker sleep based on load average, remove redundand code and add return to some daemons
Diffstat (limited to 'Zotlabs/Daemon/Thumbnail.php')
-rw-r--r--Zotlabs/Daemon/Thumbnail.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Thumbnail.php b/Zotlabs/Daemon/Thumbnail.php
index 3688e8ae5..fa9570658 100644
--- a/Zotlabs/Daemon/Thumbnail.php
+++ b/Zotlabs/Daemon/Thumbnail.php
@@ -73,5 +73,7 @@ class Thumbnail {
|| (filectime(dbunescbin($attach['content']) . 'thumb') < (time() - 60)))) {
$default_controller->Thumb($attach, $preview_style, $preview_width, $preview_height);
}
+
+ return;
}
}