mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 13:34:11 +02:00
feat: introduce RateLimitException (#4199)
This commit is contained in:
@@ -194,7 +194,7 @@ class Vk2Bridge extends BridgeAbstract
|
||||
public function collectData()
|
||||
{
|
||||
if ($this->cache->get($this->rateLimitCacheKey)) {
|
||||
throw new HttpException('429 Too Many Requests', 429);
|
||||
throw new RateLimitException();
|
||||
}
|
||||
|
||||
$u = $this->getInput('u');
|
||||
|
Reference in New Issue
Block a user