1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-06-25 12:24:11 +02:00

feat: add limit options to the slowest bridges

This commit is contained in:
dag
2022-04-10 18:56:24 +02:00
committed by GitHub
parent 0b40f51c01
commit 5a733b3d82
13 changed files with 80 additions and 20 deletions

View File

@ -87,6 +87,16 @@ abstract class BridgeAbstract implements BridgeInterface {
*/
const TEST_DETECT_PARAMETERS = array();
/**
* This is a convenient const for the limit option in bridge contexts.
* Can be inlined and modified if necessary.
*/
protected const LIMIT = [
'name' => 'Limit',
'type' => 'number',
'title' => 'Maximum number of items to return',
];
/**
* Holds the list of items collected by the bridge
*