1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-10 18:44:04 +02:00

fix: remove unnecessary calls to purgeCache (#3502)

This commit is contained in:
Dag
2023-07-06 18:52:19 +02:00
committed by GitHub
parent 965d7d44c5
commit 5e22459eb6
7 changed files with 22 additions and 19 deletions

View File

@@ -228,6 +228,7 @@ EOD
$cache->setScope('twitter');
$cache->setKey(['cache']);
// todo: inspect mtime instead of purging with 3h
$cache->purgeCache(60 * 60 * 3);
$api = new TwitterClient($cache);