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:
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user