From 71369bd2a0d97a75fad5e106943a56ca6ab74737 Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 22 Jun 2023 17:27:09 -0500 Subject: [PATCH] Update:Podcast rss feed fetch timeout to 12s #1856 --- server/utils/podcastUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/podcastUtils.js b/server/utils/podcastUtils.js index 58200349..2fd684ea 100644 --- a/server/utils/podcastUtils.js +++ b/server/utils/podcastUtils.js @@ -204,7 +204,7 @@ module.exports.parsePodcastRssFeedXml = async (xml, excludeEpisodeMetadata = fal module.exports.getPodcastFeed = (feedUrl, excludeEpisodeMetadata = false) => { Logger.debug(`[podcastUtils] getPodcastFeed for "${feedUrl}"`) - return axios.get(feedUrl, { timeout: 6000, responseType: 'arraybuffer' }).then(async (data) => { + return axios.get(feedUrl, { timeout: 12000, responseType: 'arraybuffer' }).then(async (data) => { // Adding support for ios-8859-1 encoded RSS feeds. // See: https://github.com/advplyr/audiobookshelf/issues/1489