mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -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
|
||||
# Sleep after each generation to minimize the impact on disk IO
|
||||
# and CPU
|
||||
sleep 0.5.seconds
|
||||
sleep 1.seconds
|
||||
end
|
||||
@thumbnails_count += 1
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user