Merge pull request #3771 from sbyrx/master

Adds a configuration for podcast feed and episode download timeout
This commit is contained in:
advplyr
2025-01-08 14:10:20 -06:00
committed by GitHub
3 changed files with 8 additions and 2 deletions

View File

@ -110,7 +110,7 @@ module.exports.downloadPodcastEpisode = (podcastEpisodeDownload) => {
headers: {
'User-Agent': 'audiobookshelf (+https://audiobookshelf.org)'
},
timeout: 30000
timeout: global.PodcastDownloadTimeout
}).catch((error) => {
Logger.error(`[ffmpegHelpers] Failed to download podcast episode with url "${podcastEpisodeDownload.url}"`, error)
return null