image-webpack-loader icon indicating copy to clipboard operation
image-webpack-loader copied to clipboard

Limit the number of image compressed concurrently

Open kiwixz opened this issue 3 years ago • 1 comments

Hello there, it seems that image-webpack-loader is trying to compress all images in parallel (in my config at least). Is there anyway to limit this to the number of processors of the machine, or something similar ?

top screenshot

kiwixz avatar Mar 11 '21 11:03 kiwixz

Hello there, it seems that image-webpack-loader is trying to compress all images in parallel (in my config at least). Is there anyway to limit this to the number of processors of the machine, or something similar ?

top screenshot

you can use https://man7.org/linux/man-pages/man1/taskset.1.html

Milerius avatar May 14 '21 19:05 Milerius