if connections less than 100, use the main thread process or use multi thread process. I think this value should from config.