补充设置并发数量调整为8,减少下发taskpool请求数量,从而减少丢帧
Signed-off-by: madixin <madixin@huawei.com>
This commit is contained in:
parent
400ba85a5d
commit
8b4ba78d56
|
@ -36,7 +36,7 @@ import { ImageKnifeRequestWithSource , ImageKnifeRequestSource , RequestJobResul
|
||||||
|
|
||||||
export class ImageKnifeDispatcher {
|
export class ImageKnifeDispatcher {
|
||||||
// 最大并发
|
// 最大并发
|
||||||
private maxRequests: number = 64
|
private maxRequests: number = 8
|
||||||
// 排队队列
|
// 排队队列
|
||||||
private jobQueue: IJobQueue = new DefaultJobQueue()
|
private jobQueue: IJobQueue = new DefaultJobQueue()
|
||||||
// 执行中的请求
|
// 执行中的请求
|
||||||
|
|
Loading…
Reference in New Issue