Make thumbnail generation slower

This reduces the IO stress
This commit is contained in:
Alex Ling
2021-01-19 15:06:27 +00:00
parent c7be0e0e7c
commit 781de97c68
+1 -1
View File
@@ -232,7 +232,7 @@ class Library
e.generate_thumbnail e.generate_thumbnail
# Sleep after each generation to minimize the impact on disk IO # Sleep after each generation to minimize the impact on disk IO
# and CPU # and CPU
sleep 0.5.seconds sleep 1.seconds
end end
@thumbnails_count += 1 @thumbnails_count += 1
end end