diff --git a/torrent/service.go b/torrent/service.go index fcb4a0e..1684de3 100644 --- a/torrent/service.go +++ b/torrent/service.go @@ -33,13 +33,14 @@ type Service struct { func NewService(cfg loader.Loader, db loader.LoaderAdder, stats *Stats, c *torrent.Client, addTimeout, readTimeout int) *Service { l := log.Logger.With().Str("component", "torrent-service").Logger() return &Service{ - log: l, - s: stats, - c: c, - fss: make(map[string]fs.Filesystem), - cfgLoader: cfg, - db: db, - addTimeout: addTimeout, + log: l, + s: stats, + c: c, + fss: make(map[string]fs.Filesystem), + cfgLoader: cfg, + db: db, + addTimeout: addTimeout, + readTimeout: readTimeout, } }