chore: set workerid on job creation (#3737)

* chore: set workerid on job creation

* chore: bump deps
This commit is contained in:
Tobias Fried
2025-06-16 15:30:06 -06:00
committed by GitHub
parent 5549ab5562
commit 8077426312
3 changed files with 24 additions and 20 deletions
+1
View File
@@ -343,6 +343,7 @@ func (w *Worker) AssignJob(ctx context.Context, job *livekit.Job) (*livekit.JobS
job.State = &livekit.JobState{}
}
now := time.Now()
job.State.WorkerId = w.ID
job.State.UpdatedAt = now.UnixNano()
job.State.StartedAt = now.UnixNano()
job.State.Status = livekit.JobStatus_JS_RUNNING