feat(spot): fixed an issue in metrics call
This commit is contained in:
parent
5f15dfafe7
commit
96f984a76a
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ func NewTranscoder(cfg *spot.Config, log logger.Logger, objStorage objectstorage
|
||||||
tasks: NewTasks(conn),
|
tasks: NewTasks(conn),
|
||||||
streams: NewStreams(log, conn, objStorage),
|
streams: NewStreams(log, conn, objStorage),
|
||||||
spots: spots,
|
spots: spots,
|
||||||
|
metrics: metrics,
|
||||||
}
|
}
|
||||||
tnsc.prepareWorkers = workers.NewPool(2, 4, tnsc.prepare)
|
tnsc.prepareWorkers = workers.NewPool(2, 4, tnsc.prepare)
|
||||||
tnsc.transcodeWorkers = workers.NewPool(2, 4, tnsc.transcode)
|
tnsc.transcodeWorkers = workers.NewPool(2, 4, tnsc.transcode)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue