修正 ffmpeg 失败时 任务数计数
This commit is contained in:
parent
c280b5f40d
commit
512617bdb2
@ -581,6 +581,8 @@ public class DeviceProxyService {
|
|||||||
@Override
|
@Override
|
||||||
public void onProcessFailed(ExecuteException e) {
|
public void onProcessFailed(ExecuteException e) {
|
||||||
hasResult = true;
|
hasResult = true;
|
||||||
|
int num = taskNum.decrementAndGet();
|
||||||
|
log.info("当前任务数 {}", num);
|
||||||
log.error("ffmpeg 执行失败", e);
|
log.error("ffmpeg 执行失败", e);
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user