Skip to content

Commit

Permalink
#754 Tweak podcast "new items" caching.
Browse files Browse the repository at this point in the history
  • Loading branch information
mherger committed Feb 2, 2022
1 parent dd669d3 commit 51e4ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Slim/Plugin/Podcast/PodcastIndex.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use Slim::Utils::Prefs;
use Slim::Utils::Log;
use Slim::Utils::Strings qw(string cstring);

use constant NEWS_TTL => 300;
use constant NEWS_TTL => 60;
use constant NEWS_CACHE_KEY => 'podcast_index_news';

my $cache = Slim::Utils::Cache->new();
Expand Down Expand Up @@ -134,7 +134,7 @@ sub newsHandler {
},
{
cache => 1,
expires => 300,
expires => 900,
timeout => 30,
},
)->get($url, @$headers);
Expand Down

0 comments on commit 51e4ee9

Please sign in to comment.