perf: 优化已完成状态下的输出等待时间,加快响应速度
This commit is contained in:
@@ -195,6 +195,11 @@ public class AiGateWayManager : DomainService
|
||||
// 如果没有完成,才等待,已完成,全部输出
|
||||
await Task.Delay(outputInterval, cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
//已经完成了,也等待,但是速度可以放快
|
||||
await Task.Delay(10, cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
}, cancellationToken);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user