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

fix(DisplayAction): improve error handling and cache logic (#3558)

* fix(DisplayAction): improve error handling and cache logic

* restore prev timeouts

* refactor

* yup

* test: fix unit test

* leave twitter client unchanged

* leave twitter bridge unchanged
This commit is contained in:
Dag
2023-07-23 23:05:35 +02:00
committed by GitHub
parent 38ca124de0
commit 74635fd752
4 changed files with 81 additions and 58 deletions

View File

@@ -5,7 +5,7 @@ class GoogleSearchBridge extends BridgeAbstract
const MAINTAINER = 'sebsauvage';
const NAME = 'Google search';
const URI = 'https://www.google.com/';
const CACHE_TIMEOUT = 1800; // 30min
const CACHE_TIMEOUT = 60 * 30; // 30m
const DESCRIPTION = 'Returns max 100 results from the past year.';
const PARAMETERS = [[