Fixed the number of worker thread

There are a lot of input Block cause too many Worker threads and will
load all data.So it should be to control the number of Worker threads