You've already forked FrameTour-BE
限制主动下载的速度
This commit is contained in:
@ -41,7 +41,7 @@ public class VideoReUploader {
|
|||||||
private static final ThreadFactory threadFactory = new ThreadFactoryBuilder()
|
private static final ThreadFactory threadFactory = new ThreadFactoryBuilder()
|
||||||
.setNamePrefix("Vid-ReUp-")
|
.setNamePrefix("Vid-ReUp-")
|
||||||
.build();
|
.build();
|
||||||
private static final ThreadPoolExecutor executor = new ThreadPoolExecutor(8, 1024, 0L, TimeUnit.MILLISECONDS,
|
private static final ThreadPoolExecutor executor = new ThreadPoolExecutor(1, 1024, 0L, TimeUnit.MILLISECONDS,
|
||||||
new ArrayBlockingQueue<>(1024),
|
new ArrayBlockingQueue<>(1024),
|
||||||
threadFactory
|
threadFactory
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user