mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 19:42:46 +00:00
parent
ae8394d976
commit
824ac5e373
5 changed files with 7 additions and 10 deletions
4
.github/ISSUE_TEMPLATE/bridge-request.md
vendored
4
.github/ISSUE_TEMPLATE/bridge-request.md
vendored
|
@ -49,9 +49,9 @@ Please describe what you expect from the bridge. Whenever possible provide sampl
|
|||
- _Default limit_: 5
|
||||
- [ ] Load full articles
|
||||
- _Cache articles_ (articles are stored in a local cache on first request): yes
|
||||
- _Cache timeout_ (max = 24 hours): 24 hours
|
||||
- _Cache timeout_ : 24 hours
|
||||
- [X] Balance requests (RSS-Bridge uses cached versions to reduce bandwith usage)
|
||||
- _Timeout_ (default = 5 minutes, max = 24 hours): 5 minutes
|
||||
- _Timeout_ (default = 5 minutes): 5 minutes
|
||||
|
||||
<!--Be aware that some options might not be available for your specific request due to technical limitations!-->
|
||||
|
||||
|
|
|
@ -150,11 +150,11 @@ listen = /run/php/rss-bridge.sock
|
|||
listen.owner = www-data
|
||||
listen.group = www-data
|
||||
|
||||
# Create 10 workers standing by to serve requests
|
||||
; Create 10 workers standing by to serve requests
|
||||
pm = static
|
||||
pm.max_children = 10
|
||||
|
||||
# Respawn worker after 500 requests (workaround for memory leaks etc.)
|
||||
; Respawn worker after 500 requests (workaround for memory leaks etc.)
|
||||
pm.max_requests = 500
|
||||
```
|
||||
|
||||
|
@ -460,7 +460,6 @@ See [CONTRIBUTORS.md](CONTRIBUTORS.md)
|
|||
|
||||
RSS-Bridge uses caching to prevent services from banning your server for repeatedly updating feeds.
|
||||
The specific cache duration can be different between bridges.
|
||||
Cached files are deleted automatically after 24 hours.
|
||||
|
||||
RSS-Bridge allows you to take full control over which bridges are displayed to the user.
|
||||
That way you can host your own RSS-Bridge service with your favorite collection of bridges!
|
||||
|
|
|
@ -75,7 +75,7 @@ custom_timeout = false
|
|||
; "" = Disabled (default)
|
||||
email = ""
|
||||
|
||||
; Advertise a contact Telegram url e.g. "https://t.me/elegantobjects"
|
||||
; Advertise a contact URL (can be any URL!) e.g. "https://t.me/elegantobjects"
|
||||
telegram = ""
|
||||
|
||||
; Show Donation information for bridges if available.
|
||||
|
|
|
@ -177,11 +177,9 @@ function getSimpleHTMLDOM(
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets contents from the Internet as simplhtmldom object. Contents are cached
|
||||
* Fetch contents from the Internet as simplhtmldom object. Contents are cached
|
||||
* and re-used for subsequent calls until the cache duration elapsed.
|
||||
*
|
||||
* _Notice_: Cached contents are forcefully removed after 24 hours (86400 seconds).
|
||||
*
|
||||
* @param string $url The URL.
|
||||
* @param int $ttl Cache duration in seconds.
|
||||
* @param array $header (optional) A list of cURL header.
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
<?php if ($admin_telegram): ?>
|
||||
<div>
|
||||
Telegram: <a href="<?= e($admin_telegram) ?>"><?= e($admin_telegram) ?></a>
|
||||
Url: <a href="<?= e($admin_telegram) ?>"><?= e($admin_telegram) ?></a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Loading…
Reference in a new issue