thinking about timeout
This commit is contained in:
@@ -72,7 +72,7 @@ func MainApp(configPath string) {
|
||||
torrentMgr := torrent.NewTorrentManager(config, rd, workerPool, repairPool, log.Named("manager"))
|
||||
|
||||
downloadClient := http.NewHTTPClient(config.GetToken(), config.GetRetriesUntilFailed(), 0, true, config, log.Named("dlclient"))
|
||||
downloader := universal.NewDownloader(downloadClient)
|
||||
downloader := universal.NewDownloader(downloadClient, config.GetRealDebridTimeout())
|
||||
|
||||
router := chi.NewRouter()
|
||||
handlers.AttachHandlers(router, downloader, torrentMgr, config, rd, log.Named("router"))
|
||||
|
||||
Reference in New Issue
Block a user