use predefined resolutions for thumbnail generation

This commit is contained in:
David Christofas
2020-03-23 11:52:33 +01:00
parent 43bf107207
commit 3de4584a45
12 changed files with 125 additions and 56 deletions
+1
View File
@@ -24,6 +24,7 @@ func NewService(opts ...Option) grpc.Service {
{
thumbnail = svc.NewService(
svc.Config(options.Config),
svc.Logger(options.Logger),
)
thumbnail = svc.NewInstrument(thumbnail, options.Metrics)
thumbnail = svc.NewLogging(thumbnail, options.Logger)