Commit 4243e916b4e6c1404280d60351507b2e49cbb583

Authored by xp.Huang
1 parent c7134b0b

perf: 调视频流转换整线程池的最大线程数

... ... @@ -28,7 +28,7 @@ public class TkFLVServiceImpl implements TkFLVService {
28 28 executorService =
29 29 new ThreadPoolExecutor(
30 30 0,
31   - 50,
  31 + 2048,
32 32 10L,
33 33 TimeUnit.SECONDS,
34 34 new SynchronousQueue<Runnable>(),
... ... @@ -95,9 +95,6 @@ public class TkFLVServiceImpl implements TkFLVService {
95 95 }
96 96
97 97 public void close(String url, String browserId) {
98   - // executorService.execute(()->{
99   - //
100   - // });
101 98 String key = md5(url + browserId);
102 99 if (converters.containsKey(key)) {
103 100 TkConverter c = converters.get(key);
... ...