Add check to pp to not re-save deleted recordings
This commit is contained in:
parent
f86ba637b4
commit
93a662ce22
|
@ -212,8 +212,10 @@ public class NextGenLocalRecorder implements Recorder {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (recording.getStatus() != State.DELETED) {
|
||||||
setRecordingStatus(recording, State.FINISHED);
|
setRecordingStatus(recording, State.FINISHED);
|
||||||
recordingManager.saveRecording(recording);
|
recordingManager.saveRecording(recording);
|
||||||
|
}
|
||||||
LOG.info("Post-processing finished for {}", recording.getModel().getName());
|
LOG.info("Post-processing finished for {}", recording.getModel().getName());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (e instanceof InterruptedException) { // NOSONAR
|
if (e instanceof InterruptedException) { // NOSONAR
|
||||||
|
|
Loading…
Reference in New Issue