mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
Make thumbnail generation slower
This reduces the IO stress
This commit is contained in:
parent
c7be0e0e7c
commit
781de97c68
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user