Add conversion job logic

This commit is contained in:
2025-08-09 17:38:28 +03:00
parent 7357b69a7b
commit d353f206fc
6 changed files with 180 additions and 1 deletions

View File

@@ -21,3 +21,9 @@ const (
StateUploaded = "uploaded"
StatusFailed = "failed"
)
func (j *TranscribeJob) MoveToState(state string) {
j.State = state
j.Worker = nil
j.AcquiredAt = nil
}