tcoopman / image-webpack-loader

Image loader module for webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Limit the number of image compressed concurrently

kiwixz opened this issue · 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

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