mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 08:35:17 +02:00
feat: add limit options to the slowest bridges
This commit is contained in:
parent
0b40f51c01
commit
5a733b3d82
13 changed files with 80 additions and 20 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue