1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-02 14:47:35 +02:00

fix: logic bug in 429 caching logic (#3669)

This commit is contained in:
Dag
2023-09-14 03:26:01 +02:00
committed by GitHub
parent bb7f329e81
commit 409236e48e
2 changed files with 2 additions and 2 deletions

View File

@@ -90,8 +90,8 @@ class RedditBridge extends BridgeAbstract
} catch (HttpException $e) {
if ($e->getCode() === 429) {
$this->cache->set($cacheKey, true, 60 * 16);
throw $e;
}
throw $e;
}
}

View File

@@ -205,8 +205,8 @@ class YoutubeBridge extends BridgeAbstract
} catch (HttpException $e) {
if ($e->getCode() === 429) {
$this->cache->set($cacheKey, true, 60 * 16);
throw $e;
}
throw $e;
}
}