You've already forked FrameTour-BE
fix(video): 减少视频任务生成器的等待时间
- 将线程睡眠时间从5000毫秒减少到2000毫秒 - 提高视频任务处理效率 - 减少系统资源占用
This commit is contained in:
@@ -106,7 +106,7 @@ public class VideoTaskGenerator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
Thread.sleep(5000L);
|
Thread.sleep(2000L);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user