Thrift.Net icon indicating copy to clipboard operation
Thrift.Net copied to clipboard

server接口的处理

Open wuzhenda opened this issue 7 years ago • 1 comments

想咨询下,TThreadPoolServer中,Serve()方法,用线程池处理,大并发或是耗时操作是否有问题? TTransport client = serverTransport.Accept(); ThreadPool.QueueUserWorkItem(this.Execute, client);

wuzhenda avatar May 26 '17 09:05 wuzhenda

@wuzhenda 需要设置超时时间来解决你的问题

nicholaspei avatar Jun 27 '17 09:06 nicholaspei