Updated encode runner
This commit is contained in:
parent
92d55631b4
commit
27372f37e5
@ -53,6 +53,8 @@ class RunnerCoordinator {
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
producer.sendMessage(KafkaEvents.EVENT_ENCODER_STARTED_VIDEO_FILE.event, message.withNewStatus(Status(StatusType.ERROR, e.message)))
|
||||
} finally {
|
||||
semaphore.release()
|
||||
}
|
||||
|
||||
}
|
||||
@ -74,6 +76,8 @@ class RunnerCoordinator {
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
producer.sendMessage(KafkaEvents.EVENT_ENCODER_STARTED_SUBTITLE_FILE.event, message.withNewStatus(Status(StatusType.ERROR, e.message)))
|
||||
} finally {
|
||||
semaphore.release()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user